Fix comment

This commit is contained in:
Preetha Appan 2018-09-23 20:09:14 -05:00
parent cc295b90de
commit 9e4a35fff0
No known key found for this signature in database
GPG key ID: 9F7C19990A50EAFC

View file

@ -204,10 +204,8 @@ func (p *planner) applyPlan(plan *structs.Plan, result *structs.PlanResult, snap
var evals []*structs.Evaluation
for preemptedJobID, _ := range preemptedJobIDs {
job, _ := p.State().JobByID(nil, preemptedJobID.Namespace, preemptedJobID.ID) // TODO Fix me
job, _ := p.State().JobByID(nil, preemptedJobID.Namespace, preemptedJobID.ID)
if job != nil {
//TODO(preetha): This eval is missing class eligibility related fields
// need to figure out how to set them per job
eval := &structs.Evaluation{
ID: uuid.Generate(),
Namespace: job.Namespace,