config-migrate: Fix buggy continuous re-migration of v9 to v10 config (#3338)

This commit is contained in:
Anis Elleuch 2016-11-24 00:53:55 +01:00 committed by Harshavardhana
parent 6efee2072d
commit c667d20dfc

View File

@ -441,8 +441,5 @@ func loadConfigV9() (*serverConfigV9, error) {
if err := qc.Load(configFile); err != nil {
return nil, err
}
// Set the version properly after the unmarshalled json is loaded.
srvCfg.Version = "9"
return srvCfg, nil
}