From 2c68d2d5c7172fa6d0ccdd1ff425e566f38ac8dd Mon Sep 17 00:00:00 2001 From: WuYunlong Date: Tue, 4 Aug 2020 23:00:58 +0800 Subject: [PATCH] Fix tests/cluster/cluster.tcl about wrong usage of lrange. (#6702) --- tests/cluster/cluster.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cluster/cluster.tcl b/tests/cluster/cluster.tcl index f9a0e180d..e894823de 100644 --- a/tests/cluster/cluster.tcl +++ b/tests/cluster/cluster.tcl @@ -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 }