From b6f19c3e45e87faf12a61cb30f1b0681bcf9e340 Mon Sep 17 00:00:00 2001 From: Bay Date: Sat, 23 Dec 2017 19:14:00 +0800 Subject: [PATCH] [REV] optimize add node time out --- pkg/grctl/cmd/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/grctl/cmd/node.go b/pkg/grctl/cmd/node.go index 4abc18d87..e22bbb707 100644 --- a/pkg/grctl/cmd/node.go +++ b/pkg/grctl/cmd/node.go @@ -366,7 +366,7 @@ func NewCmdNode() cli.Command { for { select { - case timer.C: + case <-timer.C: fmt.Println("添加节点超时,请检查etcd") return nil default: