mirror of https://github.com/minio/minio.git
Remote update should be on by default (#8413)
Fixes a regression introduced in PR #8351
This commit is contained in:
parent
18cb15559d
commit
fce2d6ddd1
|
@ -235,7 +235,7 @@ func handleCommonEnvVars() {
|
||||||
// In place update is true by default if the MINIO_UPDATE is not set
|
// In place update is true by default if the MINIO_UPDATE is not set
|
||||||
// or is not set to 'off', if MINIO_UPDATE is set to 'off' then
|
// or is not set to 'off', if MINIO_UPDATE is set to 'off' then
|
||||||
// in-place update is off.
|
// in-place update is off.
|
||||||
globalInplaceUpdateDisabled = strings.EqualFold(env.Get(config.EnvUpdate, "off"), "off")
|
globalInplaceUpdateDisabled = strings.EqualFold(env.Get(config.EnvUpdate, "on"), "off")
|
||||||
|
|
||||||
// Get WORM environment variable.
|
// Get WORM environment variable.
|
||||||
if worm := env.Get(config.EnvWorm, "off"); worm != "" {
|
if worm := env.Get(config.EnvWorm, "off"); worm != "" {
|
||||||
|
|
Loading…
Reference in New Issue