nomad: fix Eval.Dequeue forwarding
This commit is contained in:
parent
4be2c1b9db
commit
8f2b878ea8
|
@ -57,7 +57,7 @@ func (e *Eval) GetEval(args *structs.EvalSpecificRequest,
|
|||
// Dequeue is used to dequeue a pending evaluation
|
||||
func (e *Eval) Dequeue(args *structs.EvalDequeueRequest,
|
||||
reply *structs.SingleEvalResponse) error {
|
||||
if done, err := e.srv.forward("Eval.GetEval", args, args, reply); done {
|
||||
if done, err := e.srv.forward("Eval.Dequeue", args, args, reply); done {
|
||||
return err
|
||||
}
|
||||
defer metrics.MeasureSince([]string{"nomad", "eval", "dequeue"}, time.Now())
|
||||
|
|
Loading…
Reference in a new issue