mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Add failure handling of the desiredStateOfWorldPopulator start
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
		@@ -108,7 +108,11 @@ var _ PluginManager = &pluginManager{}
 | 
			
		||||
func (pm *pluginManager) Run(sourcesReady config.SourcesReady, stopCh <-chan struct{}) {
 | 
			
		||||
	defer runtime.HandleCrash()
 | 
			
		||||
 | 
			
		||||
	pm.desiredStateOfWorldPopulator.Start(stopCh)
 | 
			
		||||
	if err := pm.desiredStateOfWorldPopulator.Start(stopCh); err != nil {
 | 
			
		||||
		klog.ErrorS(err, "The desired_state_of_world populator (plugin watcher) starts failed!")
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	klog.V(2).InfoS("The desired_state_of_world populator (plugin watcher) starts")
 | 
			
		||||
 | 
			
		||||
	klog.InfoS("Starting Kubelet Plugin Manager")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user