From 3cab927394a23dc86e86990eae54e4652c907edc Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Fri, 14 Jun 2024 18:14:01 +0800 Subject: [PATCH] fix: enable image cache cleanup by default (#20532) Co-authored-by: Qiu Jian --- pkg/hostman/options/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hostman/options/options.go b/pkg/hostman/options/options.go index 264da6046e..26bba4874e 100644 --- a/pkg/hostman/options/options.go +++ b/pkg/hostman/options/options.go @@ -52,7 +52,7 @@ type SHostBaseOptions struct { ImageCacheExpireDays int `help:"Image cache expire duration in days" default:"30"` ImageCacheCleanupPercentage int `help:"The cleanup threshold ratio of image cache size v.s. total storage size" default:"12"` ImageCacheCleanupOnStartup bool `help:"Cleanup image cache on host startup" default:"false"` - ImageCacheCleanupDryRun bool `help:"Dry run cleanup image cache" default:"true"` + ImageCacheCleanupDryRun bool `help:"Dry run cleanup image cache" default:"false"` } type SHostOptions struct {