mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 05:00:25 +08:00
优化代码
This commit is contained in:
@@ -246,6 +246,8 @@ func (this *InstallAction) RunPost(params struct {
|
|||||||
// 这里我们尝试多次是为了等待API节点启动完毕
|
// 这里我们尝试多次是为了等待API节点启动完毕
|
||||||
if err != nil {
|
if err != nil {
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
|
} else {
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user