mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Early return after sending to errCh in Options#eventHandler
This commit is contained in:
		@@ -252,6 +252,7 @@ func (o *Options) eventHandler(ent fsnotify.Event) {
 | 
			
		||||
	if eventOpIs(fsnotify.Write) || eventOpIs(fsnotify.Rename) {
 | 
			
		||||
		// error out when ConfigFile is updated
 | 
			
		||||
		o.errCh <- fmt.Errorf("content of the proxy server's configuration file was updated")
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
	o.errCh <- nil
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user