[REV] optimize add node time out

This commit is contained in:
Bay 2017-12-23 19:14:00 +08:00
parent 22dae6c85f
commit b6f19c3e45

View File

@ -366,7 +366,7 @@ func NewCmdNode() cli.Command {
for {
select {
case timer.C:
case <-timer.C:
fmt.Println("添加节点超时请检查etcd")
return nil
default: