mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 14:14:39 +00:00
Merge pull request #126322 from lance5890/ds_update_typo
typo: update the daemon update typo
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user