fix typos

This commit is contained in:
haoyuan 2017-03-17 23:47:10 +08:00 committed by harryge00
parent 223c721d6e
commit 2b85ca8e00
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ func (dsc *DaemonSetsController) getPodDaemonSets(pod *v1.Pod) []*extensions.Dae
return nil return nil
} }
if len(sets) > 1 { if len(sets) > 1 {
// ControllerRef will ensure we don't do anythign crazy, but more than one // ControllerRef will ensure we don't do anything crazy, but more than one
// item in this list nevertheless constitutes user error. // item in this list nevertheless constitutes user error.
utilruntime.HandleError(fmt.Errorf("user error! more than one daemon is selecting pods with labels: %+v", pod.Labels)) utilruntime.HandleError(fmt.Errorf("user error! more than one daemon is selecting pods with labels: %+v", pod.Labels))
} }