allow changing endpoints in distributed setups (#16071)

This commit is contained in:
Harshavardhana
2022-11-16 07:59:10 -08:00
committed by GitHub
parent 3597af789e
commit 853c4de75a
4 changed files with 26 additions and 25 deletions

View File

@@ -568,7 +568,7 @@ func serverMain(ctx *cli.Context) {
setHTTPServer(httpServer)
if globalIsDistErasure && globalEndpoints.FirstLocal() {
if globalIsDistErasure {
// Additionally in distributed setup, validate the setup and configuration.
if err := verifyServerSystemConfig(GlobalContext, globalEndpoints); err != nil {
logger.Fatal(err, "Unable to start the server")