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

master
Anis Elleuch 8 years ago committed by Harshavardhana
parent 6efee2072d
commit c667d20dfc
  1. 3
      cmd/config-old.go

@ -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…
Cancel
Save