Update pkg/action/hooks.go

Co-authored-by: Marco Lecheler <marco@task.media>
Signed-off-by: Michelle Fernandez Bieber <37021266+mfbieber@users.noreply.github.com>
(cherry picked from commit 6bb5bcc212)
release-4.0
Michelle Fernandez Bieber 3 years ago committed by Scott Rigby
parent c5d87f2f7d
commit 6c838b4a18
No known key found for this signature in database
GPG Key ID: C7C6FBB5B91C1155

@ -52,7 +52,7 @@ func ShutdownNoOp() error {
return nil
}
// execHook executes all of the hooks for the given hook event and returns a shutdownHook function to trigger deletions after doing other things like e.g. retrieving logs.
// execHookWithDelayedShutdown executes all of the hooks for the given hook event and returns a shutdownHook function to trigger deletions after doing other things like e.g. retrieving logs.
func (cfg *Configuration) execHookWithDelayedShutdown(rl *release.Release, hook release.HookEvent, waitStrategy kube.WaitStrategy, timeout time.Duration, serverSideApply bool) (ExecuteShutdownHooks, error) {
executingHooks := []*release.Hook{}

Loading…
Cancel
Save