parent
2edc0c6240
commit
56b4332fbb
|
|
@ -132,7 +132,7 @@ func (r *Run) withPreparedCharts(helmfileCommand string, opts state.ChartPrepare
|
|||
firstErr = nonNilErrs[0]
|
||||
}
|
||||
|
||||
_, err = r.state.TriggerGlobalCleanupEventWithError(helmfileCommand, firstErr)
|
||||
_, err = r.state.TriggerGlobalCleanupEvent(helmfileCommand, firstErr)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3105,11 +3105,7 @@ func (st *HelmState) TriggerGlobalPrepareEvent(helmfileCommand string) (bool, er
|
|||
return st.triggerGlobalReleaseEvent("prepare", nil, helmfileCommand)
|
||||
}
|
||||
|
||||
func (st *HelmState) TriggerGlobalCleanupEvent(helmfileCommand string) (bool, error) {
|
||||
return st.TriggerGlobalCleanupEventWithError(helmfileCommand, nil)
|
||||
}
|
||||
|
||||
func (st *HelmState) TriggerGlobalCleanupEventWithError(helmfileCommand string, evtErr error) (bool, error) {
|
||||
func (st *HelmState) TriggerGlobalCleanupEvent(helmfileCommand string, evtErr error) (bool, error) {
|
||||
return st.triggerGlobalReleaseEvent("cleanup", evtErr, helmfileCommand)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue