Update nomad/eval_endpoint.go

Co-Authored-By: schmichael <michael.schurter@gmail.com>
This commit is contained in:
Alex Dadgar 2019-03-05 15:19:07 -08:00 committed by GitHub
parent e37bbb21a5
commit 1857f5d7c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,7 +144,7 @@ func (e *Eval) getWaitIndex(namespace, job string, evalModifyIndex uint64) (uint
return 0, err
}
// Since dequeueing evals is concurrent with applying raft messages to
// Since dequeueing evals is concurrent with applying Raft messages to
// the state store, initialize to the currently dequeued eval's index
// in case it isn't in the snapshot used by EvalsByJob yet.
max := evalModifyIndex