mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	fix typos
This commit is contained in:
		@@ -40,7 +40,7 @@ import (
 | 
			
		||||
	"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 {
 | 
			
		||||
	Config(name string) (*restclient.Config, error)
 | 
			
		||||
	ConfigOrDie(name string) *restclient.Config
 | 
			
		||||
 
 | 
			
		||||
@@ -265,7 +265,7 @@ func (dsc *DaemonSetsController) getPodDaemonSets(pod *v1.Pod) []*extensions.Dae
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	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.
 | 
			
		||||
		utilruntime.HandleError(fmt.Errorf("user error! more than one daemon is selecting pods with labels: %+v", pod.Labels))
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user