From 63e84a7a5bfe6f7ba93cb90eaef1323c0bfec9f0 Mon Sep 17 00:00:00 2001 From: Imri Barr Date: Tue, 11 Jun 2024 17:12:25 +0300 Subject: [PATCH] Removed hooks.go changes. Not necessary anymore. Signed-off-by: Imri Barr --- pkg/action/hooks.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/action/hooks.go b/pkg/action/hooks.go index 21321bd84..0af625dff 100644 --- a/pkg/action/hooks.go +++ b/pkg/action/hooks.go @@ -97,8 +97,6 @@ func (cfg *Configuration) execHook(rl *release.Release, hook release.HookEvent, h.LastRun.Phase = release.HookPhaseSucceeded } - cfg.recordRelease(rl) - // If all hooks are successful, check the annotation of each hook to determine whether the hook should be deleted // under succeeded condition. If so, then clear the corresponding resource object in each hook for _, h := range executingHooks {