nodecontroller: remove unused ready event recording

It's not nodecontroller setting the node to Ready so it's impossible to
reach this condition.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
pull/6/head
Federico Simoncelli 2015-04-22 10:46:32 -04:00
parent d3778f5f5a
commit 21c57a5633
1 changed files with 0 additions and 3 deletions

View File

@ -612,9 +612,6 @@ func (nc *NodeController) monitorNodeStatus() error {
}
// Report node events.
if readyCondition.Status == api.ConditionTrue && lastReadyCondition.Status != api.ConditionTrue {
nc.recordNodeEvent(node, "ready")
}
if readyCondition.Status == api.ConditionFalse && lastReadyCondition.Status != api.ConditionFalse {
nc.recordNodeEvent(node, "not_ready")
}