remove snake case use

This commit is contained in:
Andrii Kushch 2018-10-11 12:58:31 +02:00
parent f5d67d80d3
commit 2d74cf3b10
1 changed files with 2 additions and 2 deletions

View File

@ -208,11 +208,11 @@ func startCluster(scenario *clusterScenario) error {
} }
func assertSlotsEqual(slots, wanted []redis.ClusterSlot) error { func assertSlotsEqual(slots, wanted []redis.ClusterSlot) error {
outer_loop: outerLoop:
for _, s2 := range wanted { for _, s2 := range wanted {
for _, s1 := range slots { for _, s1 := range slots {
if slotEqual(s1, s2) { if slotEqual(s1, s2) {
continue outer_loop continue outerLoop
} }
} }
return fmt.Errorf("%v not found in %v", s2, slots) return fmt.Errorf("%v not found in %v", s2, slots)