X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/303424c3f3ed01f65c9f880ff1ff32bc7a46621b..b4b8e120c8ac43a16513079e2ae9f46bcdb9c35d:/apps/workbench/app/views/work_units/_show_status.html.erb diff --git a/apps/workbench/app/views/work_units/_show_status.html.erb b/apps/workbench/app/views/work_units/_show_status.html.erb index b80d50dba2..003948584a 100644 --- a/apps/workbench/app/views/work_units/_show_status.html.erb +++ b/apps/workbench/app/views/work_units/_show_status.html.erb @@ -1,7 +1,11 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% container_uuid = if @object.is_a?(Container) then @object.uuid elsif @object.is_a?(ContainerRequest) then @object.container_uuid end if container_uuid - cols = ContainerRequest.columns.map(&:name) - %w(id updated_at mounts) + cols = ContainerRequest.columns.map(&:name) - %w(id updated_at mounts runtime_token) reqs = ContainerRequest.select(cols).where(requesting_container_uuid: container_uuid).results load_preloaded_objects(reqs)