Merge branch '19954-permission-dedup-doc'
[arvados.git] / apps / workbench / app / models / job_task.rb
index 44d4d45e7d869a29120e89f4c451c18b78f495c8..b10a2b0fd6e26c03953b0734bb26d41dfa9604da 100644 (file)
@@ -1,5 +1,9 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class JobTask < ArvadosBase
-  def work_unit(label="")
-    JobTaskWorkUnit.new(self, label)
+  def work_unit(label=nil)
+    JobTaskWorkUnit.new(self, label, self.uuid)
   end
 end