config/main: set the missing value.

This commit is contained in:
Harshavardhana 2016-03-24 10:41:42 -07:00
parent 4f6cf5a6b2
commit 8255590b3c
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ func initConfig() *probe.Error {
}
// Save the loaded config globally.
serverConfig = qc.Data().(*serverConfigV3)
// Set the version properly after the unmarshalled json is loaded.
serverConfig.Version = globalMinioConfigVersion
return nil
}