2
0

Apply gofmt -s

And add CI check for that.
This commit is contained in:
Alexey Palazhchenko
2023-01-24 10:59:20 +04:00
committed by Jack Christensen
parent f581584148
commit f839d501a7
8 changed files with 69 additions and 63 deletions
+3 -3
View File
@@ -1105,9 +1105,9 @@ func TestRandomizeHostOrderFunc(t *testing.T) {
// Test that at some point we connect to all 3 hosts
hostsNotSeenYet := map[string]struct{}{
"host1": struct{}{},
"host2": struct{}{},
"host3": struct{}{},
"host1": {},
"host2": {},
"host3": {},
}
// If we don't succeed within this many iterations, something is certainly wrong