Apply storageClass data while config migration (#5737)

Fixes #5736
master
Nitish Tiwari 7 years ago committed by kannappanr
parent ef61b36c5a
commit 22e3ace36e
  1. 4
      cmd/config-migrate.go

@ -1934,6 +1934,10 @@ func migrateV22ToV23() error {
// Load domain config from existing config in the file. // Load domain config from existing config in the file.
srvConfig.Domain = cv22.Domain srvConfig.Domain = cv22.Domain
// Load storage class config from existing storage class config in the file
srvConfig.StorageClass.RRS = cv22.StorageClass.RRS
srvConfig.StorageClass.Standard = cv22.StorageClass.Standard
// Init cache config.For future migration, Cache config needs to be copied over from previous version. // Init cache config.For future migration, Cache config needs to be copied over from previous version.
srvConfig.Cache.Drives = []string{} srvConfig.Cache.Drives = []string{}
srvConfig.Cache.Exclude = []string{} srvConfig.Cache.Exclude = []string{}

Loading…
Cancel
Save