Merge pull request #446 from helmfile/fix_deps_args

fix: fix deps args
This commit is contained in:
yxxhero 2022-10-19 18:15:43 +08:00 committed by GitHub
commit 94cc07cdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}