Skip to content

Commit

Permalink
DEVPROD-15633: finish host termination after setting intent host stat…
Browse files Browse the repository at this point in the history
…us (#8809)
  • Loading branch information
Kimchelly authored Mar 10, 2025
1 parent 155f13f commit 72bff40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions units/host_termination.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ func (j *hostTerminationJob) Run(ctx context.Context) {
if err := j.host.Terminate(ctx, evergreen.User, j.TerminationReason); err != nil {
j.AddError(errors.Wrapf(err, "terminating intent host '%s' in DB", j.host.Id))
}
return
}
case evergreen.HostTerminated:
if host.IsIntentHostId(j.host.Id) {
Expand Down

0 comments on commit 72bff40

Please sign in to comment.