Skip to content

Commit

Permalink
core: remove correct set of resources on blocked eval
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig committed May 23, 2022
1 parent b181919 commit 8506bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/blocked_evals.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ func (b *BlockedEvals) processBlockJobDuplicate(eval *structs.Evaluation) (newCa
if ok {
if latestEvalIndex(existingW.eval) <= latestEvalIndex(eval) {
delete(b.captured, existingID)
b.stats.Unblock(eval)
dup = existingW.eval
b.stats.Unblock(dup)
} else {
dup = eval
newCancelled = true
Expand Down

0 comments on commit 8506bd6

Please sign in to comment.