Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
priestjim committed Feb 20, 2024
1 parent 737c11e commit 8186584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/kubernetes/eventhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (h *DrainingResourceEventHandler) HandleNode(n *core.Node) {

nodeTaints := n.Spec.Taints
if len(nodeTaints) > 0 && (taintExists(nodeTaints, &autoscalerTaint) || taintExists(nodeTaints, &karpenterTaint)) {
// Delete prior scheduled draining if it exists as its draininng now being managed by Karpenter/CAS
// Delete prior scheduled draining if it exists as its draining now being managed by Karpenter/CAS
preHasSchedule, _ := h.drainScheduler.HasSchedule(n.GetName())
if preHasSchedule {
h.logger.Info("Node was previously scheduled to be drained by is now being scaled down by cluster-autoscaler/karpenter, removing prior schedule.", zap.String("node", n.GetName()))
Expand Down

0 comments on commit 8186584

Please sign in to comment.