mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-10 17:22:11 +08:00
fix bug: component check
This commit is contained in:
parent
20249191a1
commit
58349c3639
@ -119,14 +119,14 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if allSuccess {
|
|
||||||
component.SuccessPrint("All components started successfully!")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
component.ErrorPrint("Some components checked failed!")
|
if allSuccess {
|
||||||
os.Exit(-1)
|
component.SuccessPrint("All components started successfully!")
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
component.ErrorPrint("Some components checked failed!")
|
||||||
|
os.Exit(-1)
|
||||||
}
|
}
|
||||||
|
|
||||||
var errMinioNotEnabled = errors.New("minio.Enable is not configured to use MinIO")
|
var errMinioNotEnabled = errors.New("minio.Enable is not configured to use MinIO")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user