[ARVADOS] updated: 1.2.0-183-gf2a3cbef3

Git user git at public.curoverse.com
Mon Oct 15 17:11:57 EDT 2018


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

       via  f2a3cbef366bd7ff4b5c8894dd04c3b08aea138f (commit)
      from  1af0915450b8ae9f977d699da35b0ced2244bb7a (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 f2a3cbef366bd7ff4b5c8894dd04c3b08aea138f
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Mon Oct 15 17:11:11 2018 -0400

    14260: secret_mounts works with runtime_token (really this time)
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/services/api/app/controllers/arvados/v1/containers_controller.rb b/services/api/app/controllers/arvados/v1/containers_controller.rb
index 98b987639..0403b8822 100644
--- a/services/api/app/controllers/arvados/v1/containers_controller.rb
+++ b/services/api/app/controllers/arvados/v1/containers_controller.rb
@@ -70,7 +70,7 @@ class Arvados::V1::ContainersController < ApplicationController
 
   def secret_mounts
     c = Container.for_current_token
-    if @object && c && @object.uuid == c.uuid
+    if @object && c && @object.uuid == c.first.uuid
       send_json({"secret_mounts" => @object.secret_mounts})
     else
       send_error("Token is not associated with this container.", status: 403)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list