mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
[REV] optimize add node time out
This commit is contained in:
parent
22dae6c85f
commit
b6f19c3e45
@ -366,7 +366,7 @@ func NewCmdNode() cli.Command {
|
||||
for {
|
||||
|
||||
select {
|
||||
case timer.C:
|
||||
case <-timer.C:
|
||||
fmt.Println("添加节点超时,请检查etcd")
|
||||
return nil
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user