Commit 7e6b8c19 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #43302 from harryge00/fix-typo

Automatic merge from submit-queue fix typos **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note ```
parents 596fc98c 2b85ca8e
...@@ -40,7 +40,7 @@ import ( ...@@ -40,7 +40,7 @@ import (
"github.com/golang/glog" "github.com/golang/glog"
) )
// ControllerClientBuilder allow syou to get clients and configs for controllers // ControllerClientBuilder allows you to get clients and configs for controllers
type ControllerClientBuilder interface { type ControllerClientBuilder interface {
Config(name string) (*restclient.Config, error) Config(name string) (*restclient.Config, error)
ConfigOrDie(name string) *restclient.Config ConfigOrDie(name string) *restclient.Config
......
...@@ -265,7 +265,7 @@ func (dsc *DaemonSetsController) getPodDaemonSets(pod *v1.Pod) []*extensions.Dae ...@@ -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))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment