Skip to content

Commit e583f54

Browse files
committed
secrets: fix data race in test by using different logger
1 parent 615f414 commit e583f54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

secrets_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func etcdSetup(t *testing.T) (*clientv3.Client, func()) {
2929

3030
cfg := embed.NewConfig()
3131
cfg.Dir = tempDir
32+
cfg.Logger = "zap"
3233
cfg.LCUrls = []url.URL{{Host: "127.0.0.1:9125"}}
3334
cfg.LPUrls = []url.URL{{Host: "127.0.0.1:9126"}}
3435

0 commit comments

Comments
 (0)