spelling: only

This commit is contained in:
Josh Soref
2018-03-11 18:33:52 +00:00
parent e7d0da07a4
commit 2217842f71

View File

@@ -177,7 +177,7 @@ func (b *BlockedEvals) processBlock(eval *structs.Evaluation, token string) {
}
// Check if the job already has a blocked evaluation. If it does add it to
// the list of duplicates. We omly ever want one blocked evaluation per job,
// the list of duplicates. We only ever want one blocked evaluation per job,
// otherwise we would create unnecessary work for the scheduler as multiple
// evals for the same job would be run, all producing the same outcome.
if _, existing := b.jobs[eval.JobID]; existing {