Skip to content

Commit 1f7b388

Browse files
authored
Merge pull request #11566 from chrischdi/pr-cleanup-todo-chrischdi
🌱 machine: remove solved todo comment
2 parents fe05ec7 + d6ee1b9 commit 1f7b388

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/controllers/machine/machine_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,6 @@ const (
643643
)
644644

645645
func (r *Reconciler) isNodeDrainAllowed(m *clusterv1.Machine) bool {
646-
// TODO(chrischdi) check why this does not work
647646
if util.IsControlPlaneMachine(m) && util.HasOwner(m.GetOwnerReferences(), KubeadmControlPlaneAPIVersion, []string{"KubeadmControlPlane"}) {
648647
if _, exists := m.Annotations[KubeadmControlPlanePreTerminateHookCleanupAnnotation]; !exists {
649648
return false

0 commit comments

Comments
 (0)