Merge branch '8784-dir-listings'
[arvados.git] / apps / workbench / app / models / container_request.rb
index aae712b343e1468386ee77ba257d6eee04848063..3c08d94989e0eba7231fb8db6b7318aa693e0bfe 100644 (file)
@@ -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