From 696738667c686daa534ea0e964ec08d06f9d2cf8 Mon Sep 17 00:00:00 2001 From: fanyangyang Date: Thu, 11 Jun 2020 11:52:58 +0800 Subject: [PATCH] default cache-mode set sharefile --- cmd/builder/option/option.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/builder/option/option.go b/cmd/builder/option/option.go index 426b6ebf6..0ef376993 100644 --- a/cmd/builder/option/option.go +++ b/cmd/builder/option/option.go @@ -96,7 +96,7 @@ func (a *Builder) AddFlags(fs *pflag.FlagSet) { fs.StringVar(&a.RbdRepoName, "rbd-repo", "rbd-repo", "rbd component repo's name") fs.StringVar(&a.GRDataPVCName, "pvc-grdata-name", "grdata", "pvc name of grdata") fs.StringVar(&a.CachePVCName, "pvc-cache-name", "cache", "pvc name of cache") - fs.StringVar(&a.CacheMode, "cache-mode", "pvc", "volume cache mount type, can be hostpath and sharefile, default is sharefile, which mount using pvc") + fs.StringVar(&a.CacheMode, "cache-mode", "sharefile", "volume cache mount type, can be hostpath and sharefile, default is sharefile, which mount using pvc") fs.StringVar(&a.CachePath, "cache-path", "/cache", "volume cache mount path, when cache-mode using hostpath, default path is /cache") }