parent
9f7f5c02a8
commit
f052796fb2
|
|
@ -1465,7 +1465,7 @@ Do you really want to apply?
|
||||||
|
|
||||||
// We upgrade releases by traversing the DAG
|
// We upgrade releases by traversing the DAG
|
||||||
if len(releasesToBeUpdated) > 0 {
|
if len(releasesToBeUpdated) > 0 {
|
||||||
_, updateErrs := withDAG(st, helm, a.Logger, state.PlanOptions{SelectedReleases: toUpdate, Reverse: false, SkipNeeds: true, IncludeTransitiveNeeds: c.IncludeTransitiveNeeds()}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error {
|
_, updateErrs := withDAG(st, helm, a.Logger, state.PlanOptions{SelectedReleases: toUpdate, SkipNeeds: c.SkipNeeds(), IncludeNeeds: c.IncludeNeeds(), IncludeTransitiveNeeds: c.IncludeTransitiveNeeds()}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error {
|
||||||
var rs []state.ReleaseSpec
|
var rs []state.ReleaseSpec
|
||||||
|
|
||||||
for _, r := range subst.Releases {
|
for _, r := range subst.Releases {
|
||||||
|
|
@ -1705,12 +1705,12 @@ func (a *App) status(r *Run, c StatusesConfigProvider) (bool, []error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(toStatus) > 0 {
|
if len(toStatus) > 0 {
|
||||||
_, templateErrs := withDAG(st, helm, a.Logger, state.PlanOptions{SelectedReleases: toStatus, Reverse: false, SkipNeeds: true}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error {
|
_, statusErrs := withDAG(st, helm, a.Logger, state.PlanOptions{SelectedReleases: toStatus, Reverse: false, SkipNeeds: true}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error {
|
||||||
return subst.ReleaseStatuses(helm, c.Concurrency())
|
return subst.ReleaseStatuses(helm, c.Concurrency())
|
||||||
}))
|
}))
|
||||||
|
|
||||||
if len(templateErrs) > 0 {
|
if len(statusErrs) > 0 {
|
||||||
errs = append(errs, templateErrs...)
|
errs = append(errs, statusErrs...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true, errs
|
return true, errs
|
||||||
|
|
@ -1856,7 +1856,7 @@ Do you really want to sync?
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(releasesToUpdate) > 0 {
|
if len(releasesToUpdate) > 0 {
|
||||||
_, syncErrs := withDAG(st, helm, a.Logger, state.PlanOptions{SelectedReleases: toUpdate, SkipNeeds: true, IncludeTransitiveNeeds: c.IncludeTransitiveNeeds()}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error {
|
_, syncErrs := withDAG(st, helm, a.Logger, state.PlanOptions{SelectedReleases: toUpdate, SkipNeeds: c.SkipNeeds(), IncludeNeeds: c.IncludeNeeds(), IncludeTransitiveNeeds: c.IncludeTransitiveNeeds()}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error {
|
||||||
var rs []state.ReleaseSpec
|
var rs []state.ReleaseSpec
|
||||||
|
|
||||||
for _, r := range subst.Releases {
|
for _, r := range subst.Releases {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue