mirror of https://github.com/go-redis/redis.git
remove snake case use
This commit is contained in:
parent
f5d67d80d3
commit
2d74cf3b10
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue