mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
nomad: use correct nodes index
This commit is contained in:
@@ -92,7 +92,7 @@ func evaluatePlan(snap *StateSnapshot, plan *structs.Plan) (*structs.PlanResult,
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
nodeIndex, err := snap.GetIndex("node")
|
||||
nodeIndex, err := snap.GetIndex("nodes")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user