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
06a944d2e1
commit
48c1c67132
@ -102,7 +102,7 @@ func main() {
|
|||||||
err = check.function(check.config)
|
err = check.function(check.config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
allSuccess = false
|
allSuccess = false
|
||||||
component.ErrorPrint(fmt.Sprintf("Check component: %s, failed: %v", check.name, errs.Unwrap(err).Error()))
|
fmt.Fprintf(os.Stderr, "Check component: %s, failed: %+v", check.name, err)
|
||||||
if check.name == "Minio" {
|
if check.name == "Minio" {
|
||||||
if errors.Is(err, errMinioNotEnabled) ||
|
if errors.Is(err, errMinioNotEnabled) ||
|
||||||
errors.Is(err, errSignEndPoint) ||
|
errors.Is(err, errSignEndPoint) ||
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user