Skip to content

Commit a220e50

Browse files
committed
Fix a comment word typo (NodeDrainTineout to NodeDrainTimeout)
1 parent bbd4998 commit a220e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controllers/machine/machine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ func (r *Reconciler) isNodeDrainAllowed(m *clusterv1.Machine) bool {
434434
}
435435

436436
func (r *Reconciler) nodeDrainTimeoutExceeded(machine *clusterv1.Machine) bool {
437-
// if the NodeDrainTineout type is not set by user
437+
// if the NodeDrainTimeout type is not set by user
438438
if machine.Spec.NodeDrainTimeout == nil || machine.Spec.NodeDrainTimeout.Seconds() <= 0 {
439439
return false
440440
}

0 commit comments

Comments
 (0)