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>
pull/31579/head
Michelle Fernandez Bieber 2 years ago committed by Benoit Tigeot
parent d9301441f4
commit 6bb5bcc212
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -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