mirror of
https://github.com/helm/helm.git
synced 2026-04-25 16:17:11 -04:00
fix err check
Co-authored-by: George Jenkins <gvjenkins@gmail.com> Signed-off-by: Scott Rigby <scott@r6by.com>
This commit is contained in:
parent
c77f4ec6c4
commit
2f79afb0a3
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ func (cfg *Configuration) execHook(rl *release.Release, hook release.HookEvent,
|
|||
}
|
||||
// If a hook is failed, check the annotation of the hook to determine whether the hook should be deleted
|
||||
// under failed condition. If so, then clear the corresponding resource object in the hook
|
||||
if errDeleting := cfg.deleteHookByPolicy(h, release.HookFailed, timeout); err != nil {
|
||||
if errDeleting := cfg.deleteHookByPolicy(h, release.HookFailed, timeout); errDeleting != nil {
|
||||
// We log the error here as we want to propagate the hook failure upwards to the release object.
|
||||
log.Printf("error the hook resource on hook failure: %v", errDeleting)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue