mirror of
https://github.com/minio/minio.git
synced 2025-11-23 11:07:50 -05:00
Do not add comments after migration (#8530)
Also filter out empty comments from being printed.
This commit is contained in:
1
cmd/config/cache/legacy.go
vendored
1
cmd/config/cache/legacy.go
vendored
@@ -35,5 +35,4 @@ func SetCacheConfig(s config.Config, cfg Config) {
|
||||
s[config.CacheSubSys][config.Default][Expiry] = fmt.Sprintf("%d", cfg.Expiry)
|
||||
s[config.CacheSubSys][config.Default][Quota] = fmt.Sprintf("%d", cfg.MaxUse)
|
||||
s[config.CacheSubSys][config.Default][config.State] = config.StateOn
|
||||
s[config.CacheSubSys][config.Default][config.Comment] = "Settings for Cache, after migrating config"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user