Merge branch '10312-nodemanager-quotas' refs #10312
[arvados.git] / apps / workbench / app / models / container_request.rb
index 62d8bff042c16dec335f746ff6f0991e5e37250e..7cbd91e8664422fe194f281cf166896d81a268bf 100644 (file)
@@ -7,7 +7,11 @@ class ContainerRequest < ArvadosBase
     [ 'description' ]
   end
 
-  def work_unit(label=nil)
-    ContainerWorkUnit.new(self, label)
+  def self.goes_in_projects?
+    true
+  end
+
+  def work_unit(label=nil, child_objects=nil)
+    ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects)
   end
 end