Fix linting

This commit is contained in:
Preetha Appan 2018-09-27 15:10:15 -05:00
parent 1805032e69
commit 3190a2c29b
No known key found for this signature in database
GPG Key ID: 9F7C19990A50EAFC
1 changed files with 1 additions and 1 deletions

View File

@ -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{