X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4a6b74c22201ceac36797b7722d52407eec63536..b3e8a483835334becbef9cba2bebbcf08df47c15:/apps/workbench/app/models/container.rb?ds=sidebyside 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