mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
config/main: set the missing value.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user