Adding check for file write or minio/s3 bucket before server start. (#7254)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b60cc5b28e
Коммит
17098fb2a3
@@ -67,6 +67,10 @@ func runServer(configFileLocation string) {
|
||||
*utils.Cfg.ServiceSettings.EnableDeveloper = true
|
||||
}
|
||||
|
||||
if err := app.TestFileConnection(); err != nil {
|
||||
l4g.Error("Problem with file storage settings: " + err.Error())
|
||||
}
|
||||
|
||||
app.NewServer()
|
||||
app.InitStores()
|
||||
api.InitRouter()
|
||||
|
||||
Ссылка в новой задаче
Block a user