From 6b532ffd6589d5584c9ac6e7b86fdd534b2621d6 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sun, 10 Sep 2023 23:02:11 +0800 Subject: [PATCH] fix tests Signed-off-by: yxxhero --- pkg/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/app.go b/pkg/app/app.go index 9eba6e0a..6e2c225f 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -1511,7 +1511,7 @@ Do you really want to apply? // We deleted releases by traversing the DAG in reverse order if len(releasesToBeDeleted) > 0 { - _, deletionErrs := withDAG(st, helm, a.Logger, state.PlanOptions{Reverse: true, SelectedReleases: toDelete, SkipNeeds: true}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error { + _, deletionErrs := withDAG(st, helm, a.Logger, state.PlanOptions{Reverse: true, SelectedReleases: toDelete, SkipNeeds: c.SkipNeeds(), IncludeNeeds: c.IncludeNeeds(), IncludeTransitiveNeeds: c.IncludeTransitiveNeeds()}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error { var rs []state.ReleaseSpec for _, r := range subst.Releases {