Fix linting
This commit is contained in:
parent
1805032e69
commit
3190a2c29b
|
@ -203,7 +203,7 @@ func (p *planner) applyPlan(plan *structs.Plan, result *structs.PlanResult, snap
|
|||
}
|
||||
|
||||
var evals []*structs.Evaluation
|
||||
for preemptedJobID, _ := range preemptedJobIDs {
|
||||
for preemptedJobID := range preemptedJobIDs {
|
||||
job, _ := p.State().JobByID(nil, preemptedJobID.Namespace, preemptedJobID.ID)
|
||||
if job != nil {
|
||||
eval := &structs.Evaluation{
|
||||
|
|
Loading…
Reference in New Issue