mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
Deprecate and remove configurable disk usage check (#6016)
This commit is contained in:
committed by
kannappanr
parent
eafc15cd47
commit
3143454982
@@ -2062,10 +2062,6 @@ func migrateV23ToV24() error {
|
||||
srvConfig.Cache.Exclude = cv23.Cache.Exclude
|
||||
srvConfig.Cache.Expiry = cv23.Cache.Expiry
|
||||
|
||||
// Init usage config. For future migration, usage config needs
|
||||
// to be copied over from previous version.
|
||||
srvConfig.Usage = usageConfig{globalDefaultUsageCheckInterval}
|
||||
|
||||
if err = quick.Save(configFile, srvConfig); err != nil {
|
||||
return fmt.Errorf("Failed to migrate config from ‘%s’ to ‘%s’. %v", cv23.Version, srvConfig.Version, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user