diff --git a/pkg/action/hooks.go b/pkg/action/hooks.go index 3796b726a..59e9c97ab 100644 --- a/pkg/action/hooks.go +++ b/pkg/action/hooks.go @@ -116,7 +116,9 @@ func (cfg *Configuration) deleteHookByPolicy(h *release.Hook, policy release.Hoo return errors.Wrapf(err, "unable to build kubernetes object for deleting hook %s", h.Path) } _, errs := cfg.KubeClient.Delete(resources) - return errors.New(joinErrors(errs)) + if len(errs) > 0 { + return errors.New(joinErrors(errs)) + } } return nil }