Skip to content

Commit

Permalink
Respect grace period on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
triarius committed Oct 23, 2023
1 parent 5b02d95 commit 198db6e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ if ($lastexitcode -eq 0) {
aws autoscaling set-instance-health `
--instance-id "$InstanceId" `
--region "$Region" `
--health-status Unhealthy `
--no-should-respect-grace-period
--health-status Unhealthy
} else {
Write-Output "terminate-instance: restarting agent..."
nssm start buildkite-agent
Expand Down

0 comments on commit 198db6e

Please sign in to comment.