func transitionedToReady(newStatus, oldStatus string) bool {
	initToReady := oldStatus == structs.NodeStatusInit && newStatus == structs.NodeStatusReady
	terminalToReady := oldStatus == structs.NodeStatusDown && newStatus == structs.NodeStatusReady
	return initToReady || terminalToReady
}
// transitionedToReady is a helper that takes a nodes new and old status and
// returns whether it has transistioned to ready.
transitionedToReady is a helper that takes a nodes new and old status and
returns whether it has transistioned to ready.
// transitionedToReady is a helper that takes a nodes new and old status and // returns whether it has transistioned to ready .
func transitionedToReady(newStatus, oldStatus string) bool {
	initToReady := oldStatus == structs.NodeStatusInit && newStatus == structs.NodeStatusReady
	terminalToReady := oldStatus == structs.NodeStatusDown && newStatus == structs.NodeStatusReady
	return initToReady || terminalToReady
}
func transitionedToReady ( newStatus , oldStatus string ) bool { initToReady := oldStatus == structs . NodeStatusInit && newStatus == structs . NodeStatusReady terminalToReady := oldStatus == structs . NodeStatusDown && newStatus == structs . NodeStatusReady return initToReady || terminalToReady }
transitionedToReady is a helper that takes a nodes new and old status and
returns whether it has transistioned to ready.
transitionedToReady is a helper that takes a nodes new and old status and returns whether it has transistioned to ready .