Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 469179c

Browse files
authored
Merge pull request #39 from GDATASoftwareAG/delete_mchines
Fix deletion of machines without id
2 parents c256f49 + 2a78354 commit 469179c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/ionoscloudmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ func (r *IONOSCloudMachineReconciler) reconcileDelete(ctx *context.MachineContex
189189
}
190190

191191
conditions.MarkFalse(ctx.IONOSCloudCluster, v1alpha1.ServerCreatedCondition, "ServerDeleted", clusterv1.ConditionSeverityInfo, "")
192-
ctrlutil.RemoveFinalizer(ctx.IONOSCloudMachine, v1alpha1.MachineFinalizer)
193192
}
193+
ctrlutil.RemoveFinalizer(ctx.IONOSCloudMachine, v1alpha1.MachineFinalizer)
194194

195195
return reconcile.Result{}, nil
196196
}

0 commit comments

Comments
 (0)