Skip to content

Commit

Permalink
Run post-command hooks in grace period
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJosh9000 committed Jul 29, 2024
1 parent 1d4638d commit 10c7050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/job/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ func (e *Executor) CommandPhase(ctx context.Context) (hookErr error, commandErr
if preCommandErr != nil {
return
}
hookErr = e.runPostCommandHooks(ctx)
hookErr = e.runPostCommandHooks(withGracePeriod(ctx, e.SignalGracePeriod))
}()

// Run pre-command hooks
Expand Down

0 comments on commit 10c7050

Please # to comment.