Skip to content

Commit 314a9b7

Browse files
Show granular conditions during AzureCluster delete
1 parent d28ff9a commit 314a9b7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

controllers/azurecluster_controller.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ func (acr *AzureClusterReconciler) reconcileDelete(ctx context.Context, clusterS
267267
log.Info("Reconciling AzureCluster delete")
268268

269269
azureCluster := clusterScope.AzureCluster
270-
conditions.MarkFalse(azureCluster, infrav1.NetworkInfrastructureReadyCondition, clusterv1.DeletedReason, clusterv1.ConditionSeverityInfo, "")
271-
if err := clusterScope.PatchObject(ctx); err != nil {
272-
return reconcile.Result{}, err
273-
}
274270

275271
acs, err := acr.createAzureClusterService(clusterScope)
276272
if err != nil {

0 commit comments

Comments
 (0)