mirror of
https://github.com/fluencelabs/redis
synced 2025-06-01 19:41:20 +00:00
Sentinel test: foreach_instance_id implements 'break'.
This commit is contained in:
parent
f308f67703
commit
f5f281f906
@ -275,6 +275,8 @@ proc foreach_instance_id {instances idvar code} {
|
|||||||
error $result $::errorInfo $::errorCode
|
error $result $::errorInfo $::errorCode
|
||||||
} elseif {$errcode == 4} {
|
} elseif {$errcode == 4} {
|
||||||
continue
|
continue
|
||||||
|
} elseif {$errcode == 3} {
|
||||||
|
break
|
||||||
} elseif {$errcode != 0} {
|
} elseif {$errcode != 0} {
|
||||||
return -code $errcode $result
|
return -code $errcode $result
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user