Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/praefect/server_test.go')
-rw-r--r--internal/praefect/server_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/server_test.go b/internal/praefect/server_test.go
index d04f61121..3227c0b22 100644
--- a/internal/praefect/server_test.go
+++ b/internal/praefect/server_test.go
@@ -76,7 +76,7 @@ func TestServerSimpleUnaryUnary(t *testing.T) {
backend, cleanup := newMockDownstream(t, tt.callback)
defer cleanup() // clean up mock downstream server resources
- coordinator.RegisterNode(nodeStorage.Storage, backend)
+ coordinator.RegisterNode(nodeStorage.ID, backend)
nodeStorage.Address = backend
datastore.storageNodes.m[id] = nodeStorage
}