From da2ce574b0ba7529042658c5108c10ce9e8fcc33 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Tue, 18 Oct 2022 22:01:05 +0800 Subject: [PATCH] fix: fix deps args Signed-off-by: yxxhero --- cmd/deps.go | 2 +- pkg/config/deps.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/deps.go b/cmd/deps.go index 0d9e3e8e..b34524b9 100644 --- a/cmd/deps.go +++ b/cmd/deps.go @@ -32,7 +32,7 @@ func NewDepsCmd(globalCfg *config.GlobalImpl) *cobra.Command { f := cmd.Flags() f.StringVar(&depsOptions.Args, "args", "", "pass args to helm exec") - f.BoolVar(&depsOptions.SkipRepos, "skip-deps", false, `skip running "helm repo update" and "helm dependency build"`) + f.BoolVar(&depsOptions.SkipRepos, "skip-repos", false, `skip running "helm repo update" and "helm dependency build"`) f.IntVar(&depsOptions.Concurrency, "concurrency", 0, "maximum number of concurrent helm processes to run, 0 is unlimited") return cmd diff --git a/pkg/config/deps.go b/pkg/config/deps.go index 15d1c3d5..5d99c9a7 100644 --- a/pkg/config/deps.go +++ b/pkg/config/deps.go @@ -34,7 +34,7 @@ func (d *DepsImpl) Args() string { return d.DepsOptions.Args } -// SkipDeps returns the skip deps +// SkipRepos returns the skip deps func (d *DepsImpl) SkipRepos() bool { return d.DepsOptions.SkipRepos }