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:
authorPaul Okstad <pokstad@gitlab.com>2020-07-22 19:01:30 +0300
committerPaul Okstad <pokstad@gitlab.com>2020-07-22 19:01:30 +0300
commit59e6e5f94070ff131be74716133232acf408504c (patch)
tree2175deca72fe69f4d6f6dcb424b190eae275d9f6 /internal/praefect/auth_test.go
parent0467215ce88f5919d4fd4d74bd3b160ccfd89176 (diff)
Remove Praefect primary from config
Diffstat (limited to 'internal/praefect/auth_test.go')
-rw-r--r--internal/praefect/auth_test.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/praefect/auth_test.go b/internal/praefect/auth_test.go
index df57ea87b..48f786108 100644
--- a/internal/praefect/auth_test.go
+++ b/internal/praefect/auth_test.go
@@ -150,10 +150,9 @@ func runServer(t *testing.T, token string, required bool) (*grpc.Server, string,
Name: "praefect",
Nodes: []*config.Node{
&config.Node{
- Storage: "praefect-internal-0",
- DefaultPrimary: true,
- Address: backend,
- Token: backendToken,
+ Storage: "praefect-internal-0",
+ Address: backend,
+ Token: backendToken,
},
},
},