mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 21:32:15 +08:00
fix bug: component check
This commit is contained in:
parent
073545e282
commit
c43527dc24
@ -31,8 +31,6 @@ import (
|
|||||||
"github.com/OpenIMSDK/tools/errs"
|
"github.com/OpenIMSDK/tools/errs"
|
||||||
|
|
||||||
"github.com/openimsdk/open-im-server/v3/pkg/common/config"
|
"github.com/openimsdk/open-im-server/v3/pkg/common/config"
|
||||||
|
|
||||||
"gopkg.in/yaml.v3"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -112,7 +110,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
allSuccess = false
|
allSuccess = false
|
||||||
component.ErrorPrint(fmt.Sprintf("Check component: %s failed:%v.", check.name, errs.Error()))
|
component.ErrorPrint(fmt.Sprintf("Check component: %s failed:%v.", check.name, err.Error()))
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
checks[index].flag = true
|
checks[index].flag = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user