mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: fix the error
This commit is contained in:
parent
7a8597fa85
commit
9d2497a8cb
@ -90,14 +90,13 @@ func main() {
|
|||||||
for _, check := range checks {
|
for _, check := range checks {
|
||||||
if !check.flag {
|
if !check.flag {
|
||||||
err = check.function()
|
err = check.function()
|
||||||
continue
|
if err != nil {
|
||||||
}
|
component.ErrorPrint(fmt.Sprintf("Starting %s failed:%v.", check.name, err))
|
||||||
if err != nil {
|
allSuccess = false
|
||||||
component.ErrorPrint(fmt.Sprintf("Starting %s failed:%v.", check.name, err))
|
} else {
|
||||||
allSuccess = false
|
check.flag = true
|
||||||
} else {
|
component.SuccessPrint(fmt.Sprintf("%s connected successfully", check.name))
|
||||||
check.flag = true
|
}
|
||||||
component.SuccessPrint(fmt.Sprintf("%s connected successfully", check.name))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user