mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-21 11:20:23 +02:00
fix: use config for includeNeeds in Deps command
- Add IncludeNeeds() method to DepsConfigProvider interface - Implement IncludeNeeds() in DepsImpl - Update depsConfig in tests - Use c.IncludeNeeds() in run.go instead of hardcoded false Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -32,6 +32,11 @@ func (d *DepsImpl) SkipRepos() bool {
|
||||
return d.DepsOptions.SkipRepos
|
||||
}
|
||||
|
||||
// IncludeNeeds returns the includeNeeds
|
||||
func (d *DepsImpl) IncludeNeeds() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// IncludeTransitiveNeeds returns the includeTransitiveNeeds
|
||||
func (d *DepsImpl) IncludeTransitiveNeeds() bool {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user