[ARVADOS] updated: 1.1.3-46-gce5f1a5

Git user git at public.curoverse.com
Wed Feb 14 10:14:09 EST 2018


Summary of changes:
 services/api/app/controllers/arvados/v1/nodes_controller.rb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

       via  ce5f1a58b22bcf19bcedfb5d8602290d4a3025ff (commit)
      from  2320020a96ae6438482d1c8bbdf43d9c4fd06482 (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 ce5f1a58b22bcf19bcedfb5d8602290d4a3025ff
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Wed Feb 14 10:10:24 2018 -0500

    12199: Fix job_uuid missing from nodes#update response.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/services/api/app/controllers/arvados/v1/nodes_controller.rb b/services/api/app/controllers/arvados/v1/nodes_controller.rb
index 73f1dee..247d15e 100644
--- a/services/api/app/controllers/arvados/v1/nodes_controller.rb
+++ b/services/api/app/controllers/arvados/v1/nodes_controller.rb
@@ -9,13 +9,6 @@ class Arvados::V1::NodesController < ApplicationController
 
   include DbCurrentTime
 
-  def update
-    if resource_attrs[:job_uuid].is_a? String
-      @object.job_readable = readable_job_uuids([resource_attrs[:job_uuid]]).any?
-    end
-    super
-  end
-
   def self._ping_requires_parameters
     { ping_secret: {required: true} }
   end
@@ -38,6 +31,9 @@ class Arvados::V1::NodesController < ApplicationController
   end
 
   def update
+    if resource_attrs[:job_uuid].is_a? String
+      @object.job_readable = readable_job_uuids([resource_attrs[:job_uuid]]).any?
+    end
     attrs_to_update = resource_attrs.reject { |k,v|
       [:kind, :etag, :href].index k
     }

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list