diff --git a/nomad/fsm.go b/nomad/fsm.go index abe854a6b..a22fc08c1 100644 --- a/nomad/fsm.go +++ b/nomad/fsm.go @@ -158,13 +158,7 @@ func (n *nomadFSM) applyUpsertNode(buf []byte, index uint64) interface{} { // Unblock evals for the nodes computed node class if it is in a ready // state. if req.Node.Status == structs.NodeStatusReady { - node, err := n.state.NodeByID(req.Node.ID) - if err != nil { - n.logger.Printf("[ERR] nomad.fsm: looking up node %q failed: %v", req.Node.ID, err) - return err - - } - n.blockedEvals.Unblock(node.ComputedClass) + n.blockedEvals.Unblock(req.Node.ComputedClass) } return nil