[ARVADOS] updated: 1.3.0-1435-g327e331c0

Git user git at public.curoverse.com
Fri Aug 2 13:45:49 UTC 2019


Summary of changes:
 services/api/app/controllers/arvados/v1/schema_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  327e331c0d421d805b380bc4f9dc8d17f683eadf (commit)
      from  1d0a332825dfdb9f72c76eefacdca50f01bd67ed (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 327e331c0d421d805b380bc4f9dc8d17f683eadf
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Fri Aug 2 09:44:46 2019 -0400

    Fix DisabledAPIs in schema controller, keys are symbols, refs #15467
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/services/api/app/controllers/arvados/v1/schema_controller.rb b/services/api/app/controllers/arvados/v1/schema_controller.rb
index 90d3db685..9ccd73da4 100644
--- a/services/api/app/controllers/arvados/v1/schema_controller.rb
+++ b/services/api/app/controllers/arvados/v1/schema_controller.rb
@@ -402,7 +402,7 @@ class Arvados::V1::SchemaController < ApplicationController
         end
       end
       Rails.configuration.API.DisabledAPIs.each do |method, _|
-        ctrl, action = method.split('.', 2)
+        ctrl, action = method.to_s.split('.', 2)
         discovery[:resources][ctrl][:methods].delete(action.to_sym)
       end
       discovery

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list