mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
fix: remove active healing on .minio.sys/ during startup (#17072)
This commit is contained in:
@@ -2531,6 +2531,12 @@ func readConfigWithoutMigrate(ctx context.Context, objAPI ObjectLayer) (config.C
|
||||
}
|
||||
}
|
||||
|
||||
if !globalCredViaEnv && cfg.Credential.IsValid() {
|
||||
// Preserve older credential if we do not have
|
||||
// root credentials set via environment variable.
|
||||
globalActiveCred = cfg.Credential
|
||||
}
|
||||
|
||||
// Init compression config. For future migration, Compression config needs to be copied over from previous version.
|
||||
switch cfg.Version {
|
||||
case "29":
|
||||
|
||||
Reference in New Issue
Block a user