From f88f91eab949415e5197a6c10d65da7eaac79afd Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Fri, 14 Jun 2024 18:13:35 +0800 Subject: [PATCH] fix: enable image cache cleanup by default (#20530) 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 8e3bac9cac..db438cf822 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 {