Merge branch 'master' into 6260-test-datamanager
[arvados.git] / services / datamanager / summary / pull_list.go
index 3a246a2b757339e9a8cc8a50076ba116f9049db8..b326c9521ab0d7b545fd52c340c2b17455ea5aa5 100644 (file)
@@ -94,7 +94,7 @@ func ComputePullServers(kc *keepclient.KeepClient,
                                serverHasBlock := map[string]struct{}{}
                                for _, info := range serversStoringBlock {
                                        sa := keepServerInfo.KeepServerIndexToAddress[info.ServerIndex]
-                                       serverHasBlock[cs.Get(sa.HostPort())] = struct{}{}
+                                       serverHasBlock[cs.Get(sa.URL())] = struct{}{}
                                }
 
                                roots := keepclient.NewRootSorter(kc.LocalRoots(),