mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #54385 from HardikDR/patch-2
Automatic merge from submit-queue (batch tested with PRs 52259, 53951, 54385, 54805, 55145). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Bugfix: Update AddNodeHandler error logs **What this PR does / why we need it**: Its simple error log fix. Hope its not too small to be a separate PR.
This commit is contained in:
		@@ -252,7 +252,7 @@ func CreateAddNodeHandler(f func(node *v1.Node) error) func(obj interface{}) {
 | 
			
		||||
	return func(originalObj interface{}) {
 | 
			
		||||
		node := originalObj.(*v1.Node).DeepCopy()
 | 
			
		||||
		if err := f(node); err != nil {
 | 
			
		||||
			utilruntime.HandleError(fmt.Errorf("Error while processing Node Delete: %v", err))
 | 
			
		||||
			utilruntime.HandleError(fmt.Errorf("Error while processing Node Add: %v", err))
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user