16263: Add no_federation to user update
[arvados.git] / sdk / go / keepclient / discover.go
index 62936e71831fb1fa055b213fac470f2adeb5ea16..744ff826853895c1769a5865d8dbded75ddc1474 100644 (file)
@@ -16,7 +16,7 @@ import (
        "syscall"
        "time"
 
-       "git.curoverse.com/arvados.git/sdk/go/arvadosclient"
+       "git.arvados.org/arvados.git/sdk/go/arvadosclient"
 )
 
 // ClearCache clears the Keep service discovery cache.
@@ -27,8 +27,9 @@ func RefreshServiceDiscovery() {
        defer svcListCacheMtx.Unlock()
        for _, ent := range svcListCache {
                wg.Add(1)
+               clear := ent.clear
                go func() {
-                       ent.clear <- struct{}{}
+                       clear <- struct{}{}
                        wg.Done()
                }()
        }