Merge pull request #84836 from yuxiaobo96/k8s-checks

Correct spelling mistakes
This commit is contained in:
Kubernetes Prow Robot
2019-11-06 12:21:11 -08:00
committed by GitHub
48 changed files with 63 additions and 63 deletions

View File

@@ -893,7 +893,7 @@ func (dsc *DaemonSetsController) manage(ds *apps.DaemonSet, nodeList []*v1.Node,
}
// syncNodes deletes given pods and creates new daemon set pods on the given nodes
// returns slice with erros if any
// returns slice with errors if any
func (dsc *DaemonSetsController) syncNodes(ds *apps.DaemonSet, podsToDelete, nodesNeedingDaemonPods []string, hash string) error {
// We need to set expectations before creating/deleting pods to avoid race conditions.
dsKey, err := controller.KeyFunc(ds)