[ARVADOS] updated: 1.2.0-36-gfe235611e

Git user git at public.curoverse.com
Mon Sep 10 18:15:09 EDT 2018


Summary of changes:
 lib/controller/federation.go | 1 +
 1 file changed, 1 insertion(+)

       via  fe235611ed2a624783067e65b02b319fa687f372 (commit)
      from  8858ba320e28c7c7cee294257f9e2232dfd41230 (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 fe235611ed2a624783067e65b02b319fa687f372
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Mon Sep 10 17:04:37 2018 -0400

    13993: Need to explicitly handle paths that don't end in /
    
    Otherwise Go will generate a 301 Moved Permanently from collection to collections/
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/lib/controller/federation.go b/lib/controller/federation.go
index c9501d367..da4c00da2 100644
--- a/lib/controller/federation.go
+++ b/lib/controller/federation.go
@@ -146,6 +146,7 @@ func (h *Handler) setupProxyRemoteCluster(next http.Handler) http.Handler {
 	mux := http.NewServeMux()
 	mux.Handle("/arvados/v1/workflows", next)
 	mux.Handle("/arvados/v1/workflows/", &genericFederatedRequestHandler{next, h})
+	mux.Handle("/arvados/v1/collections", next)
 	mux.Handle("/arvados/v1/collections/", &collectionFederatedRequestHandler{next, h})
 	mux.Handle("/", next)
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list