mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
remove snake case use
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user