X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2e5f6787e7b37a47247035803fba41354cbdabdd..ae47f5fc8d181bc26e96218286e8801a20bfe8d7:/apps/workbench/app/models/container.rb diff --git a/apps/workbench/app/models/container.rb b/apps/workbench/app/models/container.rb index 0a7c288718..8de28ae41f 100644 --- a/apps/workbench/app/models/container.rb +++ b/apps/workbench/app/models/container.rb @@ -1,9 +1,13 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class Container < ArvadosBase def self.creatable? false end - def work_unit(label=nil) - ContainerWorkUnit.new(self, label) + def work_unit(label=nil, child_objects=nil) + ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects) end end