mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
Do not add comments after migration (#8530)
Also filter out empty comments from being printed.
This commit is contained in:
Vendored
-1
@@ -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