mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
config-migrate: Fix buggy continuous re-migration of v9 to v10 config (#3338)
This commit is contained in:
parent
6efee2072d
commit
c667d20dfc
@ -441,8 +441,5 @@ func loadConfigV9() (*serverConfigV9, error) {
|
|||||||
if err := qc.Load(configFile); err != nil {
|
if err := qc.Load(configFile); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
// Set the version properly after the unmarshalled json is loaded.
|
|
||||||
srvCfg.Version = "9"
|
|
||||||
|
|
||||||
return srvCfg, nil
|
return srvCfg, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user