Skip to content

Commit

Permalink
rephrase comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lubedacht committed Jun 21, 2024
1 parent 4d51853 commit c821690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/ionoscloudmachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ func (*IonosCloudMachineReconciler) checkRequestStates(
},
)

// We would like to patch the machine in the deletion step to
// not have a diff in the status during the final patch
// We need to patch the machine during the deletion phase to make sure we do
// not have a diff in the status during the final patch when the finalizer is removed
if !machineScope.IonosMachine.DeletionTimestamp.IsZero() {
requeue, retErr = true, machineScope.PatchObject()
}
Expand Down

0 comments on commit c821690

Please sign in to comment.