Fix tests/cluster/cluster.tcl about wrong usage of lrange. (#6702)

This commit is contained in:
WuYunlong 2020-08-04 23:00:58 +08:00 committed by GitHub
parent 486e39e86e
commit 2c68d2d5c7

View File

@ -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
} }