X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/64e168a0fff3af58c0c3ba21c4d225a99669112a..c59af50bc2f7a366cd12a8dd6fc7d7e3b1c32480:/services/keepproxy/keepproxy.go diff --git a/services/keepproxy/keepproxy.go b/services/keepproxy/keepproxy.go index 547e77e5f5..0191e5ba45 100644 --- a/services/keepproxy/keepproxy.go +++ b/services/keepproxy/keepproxy.go @@ -119,7 +119,7 @@ func run(logger log.FieldLogger, cluster *arvados.Cluster) error { // If a config file is available, use the keepstores defined there // instead of the legacy autodiscover mechanism via the API server for k := range cluster.Services.Keepstore.InternalURLs { - arv.KeepServiceURIs = append(arv.KeepServiceURIs, k.String()) + arv.KeepServiceURIs = append(arv.KeepServiceURIs, strings.TrimRight(k.String(), "/")) } if cluster.SystemLogs.LogLevel == "debug" { @@ -163,7 +163,7 @@ func run(logger log.FieldLogger, cluster *arvados.Cluster) error { signal.Notify(term, syscall.SIGINT) // Start serving requests. - router = MakeRESTRouter(kc, time.Duration(cluster.API.KeepServiceRequestTimeout), cluster.ManagementToken) + router = MakeRESTRouter(kc, time.Duration(keepclient.DefaultProxyRequestTimeout), cluster.ManagementToken) return http.Serve(listener, httpserver.AddRequestIDs(httpserver.LogRequests(router))) }