projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
closes #11870
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
container.rb
diff --git
a/apps/workbench/app/models/container.rb
b/apps/workbench/app/models/container.rb
index 0a7c288718f581f89235cb9a9fed9fdcd76d1d8e..8de28ae41f85052ca90fc47c5f4d8ba4d6979cee 100644
(file)
--- 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
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
end
end