mirror of
https://github.com/minio/minio.git
synced 2025-04-01 10:13:42 -04:00
config/main: set the missing value.
This commit is contained in:
parent
4f6cf5a6b2
commit
8255590b3c
@ -101,6 +101,8 @@ func initConfig() *probe.Error {
|
|||||||
}
|
}
|
||||||
// Save the loaded config globally.
|
// Save the loaded config globally.
|
||||||
serverConfig = qc.Data().(*serverConfigV3)
|
serverConfig = qc.Data().(*serverConfigV3)
|
||||||
|
// Set the version properly after the unmarshalled json is loaded.
|
||||||
|
serverConfig.Version = globalMinioConfigVersion
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user