diff --git a/pkg/action/hooks.go b/pkg/action/hooks.go index 271ecd23a..6eb31ce3f 100644 --- a/pkg/action/hooks.go +++ b/pkg/action/hooks.go @@ -47,7 +47,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, timeout time.Duration) (ExecuteShutdownHooks, error) { executingHooks := []*release.Hook{}