mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 05:12:10 +08:00
fix bug: component check
This commit is contained in:
parent
f81fd99dc9
commit
ba2adb3558
@ -102,7 +102,7 @@ func main() {
|
||||
err = check.function(check.config)
|
||||
if err != nil {
|
||||
allSuccess = false
|
||||
component.ErrorPrint(fmt.Sprintf("Check component: %s, failed: %+v\n", check.name, errs.Unwrap(err).Error()))
|
||||
component.ErrorPrint(fmt.Sprintf("Check component: %s, failed: %s", check.name, err.Error()))
|
||||
if check.name == "Minio" {
|
||||
if errors.Is(err, errMinioNotEnabled) ||
|
||||
errors.Is(err, errSignEndPoint) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user