Merge pull request #126322 from lance5890/ds_update_typo

typo: update the daemon update typo
This commit is contained in:
Kubernetes Prow Robot
2024-10-23 01:18:06 +01:00
committed by GitHub

View File

@@ -114,7 +114,7 @@ func (dsc *DaemonSetsController) rollingUpdate(ctx context.Context, ds *apps.Dae
}
}
// use any of the candidates we can, including the allowedReplacemnntPods
// use any of the candidates we can, including the allowedReplacementPods
logger.V(5).Info("DaemonSet allowing replacements", "daemonset", klog.KObj(ds), "replacements", len(allowedReplacementPods), "maxUnavailable", maxUnavailable, "numUnavailable", numUnavailable, "candidates", len(candidatePodsToDelete))
remainingUnavailable := maxUnavailable - numUnavailable
if remainingUnavailable < 0 {