X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/09a2e88c51e5432e607f2a38466e55b4ba15e887..355ed696d9782561f4c7cce707e275f8658157a1:/apps/workbench/app/models/container_request.rb diff --git a/apps/workbench/app/models/container_request.rb b/apps/workbench/app/models/container_request.rb index aae712b343..3c08d94989 100644 --- a/apps/workbench/app/models/container_request.rb +++ b/apps/workbench/app/models/container_request.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class ContainerRequest < ArvadosBase def self.creatable? false @@ -11,7 +15,7 @@ class ContainerRequest < ArvadosBase true end - def work_unit(label=nil) - ContainerWorkUnit.new(self, label, self.uuid) + def work_unit(label=nil, child_objects=nil) + ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects) end end