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 f11f26cc53
commit 40c7628fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ proc get_cluster_nodes id {
pong_recv [lindex $args 5] \
config_epoch [lindex $args 6] \
linkstate [lindex $args 7] \
slots [lrange $args 8 -1] \
slots [lrange $args 8 end] \
]
lappend nodes $node
}