// IsUpdateRequired returns true if c.node.Spec.Unschedulable matches desired state,
// or false when it is
IsUpdateRequired returns true if c.node.Spec.Unschedulable matches desired state,
or false when it is
// IsUpdateRequired returns true if c . node . Spec . Unschedulable matches desired state // or false when it is
func (c *CordonHelper) IsUpdateRequired() bool {
	mustCordon := !c.node.Spec.Unschedulable && c.status == CordonNode
	mustUncordon := c.node.Spec.Unschedulable && c.status == UncordonNode
	return mustCordon || mustUncordon
}
func ( c * CordonHelper ) IsUpdateRequired ( ) bool { mustCordon := ! c . node . Spec . Unschedulable && c . status == CordonNode mustUncordon := c . node . Spec . Unschedulable && c . status == UncordonNode return mustCordon || mustUncordon }
IsUpdateRequired returns true if c.node.Spec.Unschedulable matches desired state,
or false when it is
IsUpdateRequired returns true if c . node . Spec . Unschedulable matches desired state or false when it is