mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
Allow backward compatible way to load creds from config.json (#6435)
Print warning message for users to migrate to newer style of distributed deployment by always setting credentials as ENVs. Fixes #6434
This commit is contained in:
committed by
Dee Koder
parent
e7a4512a90
commit
19202bae81
@@ -114,11 +114,6 @@ func handleCommonEnvVars() {
|
||||
globalActiveCred = cred
|
||||
}
|
||||
|
||||
// In distributed setup users need to set ENVs always.
|
||||
if !globalIsEnvCreds && globalIsDistXL {
|
||||
logger.Fatal(uiErrEnvCredentialsMissingServer(nil), "Unable to start distributed server mode")
|
||||
}
|
||||
|
||||
if browser := os.Getenv("MINIO_BROWSER"); browser != "" {
|
||||
browserFlag, err := ParseBoolFlag(browser)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user