Skip to content

Commit 2186ba3

Browse files
committed
try setting ready when updating or not the same amount of replicas
1 parent d2dd468 commit 2186ba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure/scope/machinepool.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,10 +612,10 @@ func (m *MachinePoolScope) setProvisioningStateAndConditions(v infrav1.Provision
612612
} else {
613613
conditions.MarkFalse(m.AzureMachinePool, infrav1.ScaleSetDesiredReplicasCondition, infrav1.ScaleSetScaleDownReason, clusterv1.ConditionSeverityInfo, "")
614614
}
615-
m.SetNotReady()
615+
m.SetReady()
616616
case v == infrav1.Updating:
617617
conditions.MarkFalse(m.AzureMachinePool, infrav1.ScaleSetModelUpdatedCondition, infrav1.ScaleSetModelOutOfDateReason, clusterv1.ConditionSeverityInfo, "")
618-
m.SetNotReady()
618+
m.SetReady()
619619
case v == infrav1.Creating:
620620
conditions.MarkFalse(m.AzureMachinePool, infrav1.ScaleSetRunningCondition, infrav1.ScaleSetCreatingReason, clusterv1.ConditionSeverityInfo, "")
621621
m.SetNotReady()

0 commit comments

Comments
 (0)