X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3a0aa1db801154916f50b1b299d5100945a3e1df..068e72307f9ce91538e45cb461b99cf92d2f5666:/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 0148de51f7..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) + def work_unit(label=nil, child_objects=nil) + ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects) end end