Skip to content

Commit 28fc000

Browse files
authored
Merge pull request #1924 from Jont828/availabilityset-ready
Add availability set ready condition
2 parents 58f7f82 + 96015fd commit 28fc000

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

azure/scope/machine.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,7 @@ func (m *MachineScope) PatchObject(ctx context.Context) error {
534534
conditions.SetSummary(m.AzureMachine,
535535
conditions.WithConditions(
536536
infrav1.VMRunningCondition,
537-
),
538-
conditions.WithStepCounterIfOnly(
539-
infrav1.VMRunningCondition,
537+
infrav1.AvailabilitySetReadyCondition,
540538
),
541539
)
542540

@@ -546,6 +544,7 @@ func (m *MachineScope) PatchObject(ctx context.Context) error {
546544
patch.WithOwnedConditions{Conditions: []clusterv1.ConditionType{
547545
clusterv1.ReadyCondition,
548546
infrav1.VMRunningCondition,
547+
infrav1.AvailabilitySetReadyCondition,
549548
}})
550549
}
551550

0 commit comments

Comments
 (0)