fix: fix deps args
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
parent
82f0d88d56
commit
da2ce574b0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue