[ARVADOS] updated: 20d912bf005dcb170048a1c9167d484c91a1f8e6

Git user git at public.curoverse.com
Wed Jun 1 19:21:47 EDT 2016


Summary of changes:
 apps/workbench/app/models/job_work_unit.rb   | 20 --------------------
 apps/workbench/app/models/proxy_work_unit.rb | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 20 deletions(-)

       via  20d912bf005dcb170048a1c9167d484c91a1f8e6 (commit)
      from  7027a116acc02d8c2968d7a6f269172b45f0cd04 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 20d912bf005dcb170048a1c9167d484c91a1f8e6
Author: radhika <radhika at curoverse.com>
Date:   Wed Jun 1 19:20:42 2016 -0400

    8876: move some methods such as log and output from job_work_unit into proxy_work_unit to aid reusability.

diff --git a/apps/workbench/app/models/job_work_unit.rb b/apps/workbench/app/models/job_work_unit.rb
index 2560037..49f490d 100644
--- a/apps/workbench/app/models/job_work_unit.rb
+++ b/apps/workbench/app/models/job_work_unit.rb
@@ -23,26 +23,6 @@ class JobWorkUnit < ProxyWorkUnit
     self.my_children = items
   end
 
-  def docker_image
-    get(:docker_image_locator)
-  end
-
-  def nondeterministic
-    get(:nondeterministic)
-  end
-
-  def priority
-    get(:priority)
-  end
-
-  def log_collection
-    get(:log)
-  end
-
-  def output
-    get(:output)
-  end
-
   def child_summary
     if children.any?
       super
diff --git a/apps/workbench/app/models/proxy_work_unit.rb b/apps/workbench/app/models/proxy_work_unit.rb
index cd5855a..1cf92e2 100644
--- a/apps/workbench/app/models/proxy_work_unit.rb
+++ b/apps/workbench/app/models/proxy_work_unit.rb
@@ -169,6 +169,26 @@ class ProxyWorkUnit < WorkUnit
     get(:runtime_constraints)
   end
 
+  def docker_image
+    get(:docker_image_locator)
+  end
+
+  def nondeterministic
+    get(:nondeterministic)
+  end
+
+  def priority
+    get(:priority)
+  end
+
+  def log_collection
+    get(:log)
+  end
+
+  def output
+    get(:output)
+  end
+
   def children
     []
   end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list