mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Sentinel test: foreach_instance_id now supports 'continue'.
This commit is contained in:
parent
69cc3b692f
commit
db9e718c8a
@ -212,6 +212,8 @@ proc foreach_instance_id {instances idvar code} {
|
||||
set errcode [catch {uplevel 1 $code} result]
|
||||
if {$errcode == 1} {
|
||||
error $result $::errorInfo $::errorCode
|
||||
} elseif {$errcode == 4} {
|
||||
continue
|
||||
} elseif {$errcode != 0} {
|
||||
return -code $errcode $result
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user