[ARVADOS] updated: 1.3.0-782-gd541d3e44
Git user
git at public.curoverse.com
Mon Apr 22 20:53:56 UTC 2019
Summary of changes:
services/api/app/models/api_client_authorization.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via d541d3e4428124332da274cb11c71f468668134c (commit)
from 7bc8e8adde3ba2be86a4bc59984b886f765f27d1 (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 d541d3e4428124332da274cb11c71f468668134c
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Mon Apr 22 16:19:51 2019 -0400
Handle unrecognized uuid_prefix of remote host refs #13996
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/services/api/app/models/api_client_authorization.rb b/services/api/app/models/api_client_authorization.rb
index 69d2945fc..7645d1597 100644
--- a/services/api/app/models/api_client_authorization.rb
+++ b/services/api/app/models/api_client_authorization.rb
@@ -87,7 +87,7 @@ class ApiClientAuthorization < ArvadosModel
end
def self.remote_host(uuid_prefix:)
- Rails.configuration.RemoteClusters[uuid_prefix].Host ||
+ (Rails.configuration.RemoteClusters[uuid_prefix].andand.Host) ||
(Rails.configuration.RemoteClusters["*"].Proxy &&
uuid_prefix+".arvadosapi.com")
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list