fix: fix deps args

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2022-10-18 22:01:05 +08:00
parent 82f0d88d56
commit da2ce574b0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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
}