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
979913aa93
commit
57a5375c99
@ -128,13 +128,13 @@ func main() {
|
||||
component.ErrorPrint("Some components checked failed!")
|
||||
os.Exit(-1)
|
||||
}
|
||||
|
||||
var errMinioNotEnabled = errors.New("minio.Enable is not configured to use MinIO")
|
||||
|
||||
var errSignEndPoint = errors.New("minio.signEndPoint contains 127.0.0.1, causing issues with image sending")
|
||||
var errApiURL = errors.New("object.apiURL contains 127.0.0.1, causing issues with image sending")
|
||||
}
|
||||
|
||||
var errMinioNotEnabled = errors.New("minio.Enable is not configured to use MinIO")
|
||||
|
||||
var errSignEndPoint = errors.New("minio.signEndPoint contains 127.0.0.1, causing issues with image sending")
|
||||
var errApiURL = errors.New("object.apiURL contains 127.0.0.1, causing issues with image sending")
|
||||
|
||||
// checkMongo checks the MongoDB connection without retries
|
||||
func checkMongo(config *config.GlobalConfig) error {
|
||||
mongoStu := &component.Mongo{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user