Fix tests/cluster/cluster.tcl about wrong usage of lrange. (#6702)
This commit is contained in:
parent
486e39e86e
commit
2c68d2d5c7
@ -21,7 +21,7 @@ proc get_cluster_nodes id {
|
|||||||
pong_recv [lindex $args 5] \
|
pong_recv [lindex $args 5] \
|
||||||
config_epoch [lindex $args 6] \
|
config_epoch [lindex $args 6] \
|
||||||
linkstate [lindex $args 7] \
|
linkstate [lindex $args 7] \
|
||||||
slots [lrange $args 8 -1] \
|
slots [lrange $args 8 end] \
|
||||||
]
|
]
|
||||||
lappend nodes $node
|
lappend nodes $node
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user