mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
Add bootstrap REST handler for verifying server config (#8550)
This commit is contained in:
@@ -365,6 +365,13 @@ func serverMain(ctx *cli.Context) {
|
||||
globalHTTPServerErrorCh <- globalHTTPServer.Start()
|
||||
}()
|
||||
|
||||
if globalIsDistXL && globalEndpoints.FirstLocal() {
|
||||
// Additionally in distributed setup validate
|
||||
if err := verifyServerSystemConfig(globalEndpoints); err != nil {
|
||||
logger.Fatal(err, "Unable to initialize distributed setup")
|
||||
}
|
||||
}
|
||||
|
||||
newObject, err := newObjectLayer(globalEndpoints)
|
||||
logger.SetDeploymentID(globalDeploymentID)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user