Improve error message by removing a confussing statement
This commit is contained in:
		
							parent
							
								
									857477df43
								
							
						
					
					
						commit
						20d7bc36d2
					
				|  | @ -40,8 +40,8 @@ func (p *EventingScaleUpStatusProcessor) Process(context *context.AutoscalingCon | |||
| 	if status.Result != ScaleUpSuccessful && status.Result != ScaleUpError { | ||||
| 		for _, noScaleUpInfo := range status.PodsRemainUnschedulable { | ||||
| 			context.Recorder.Event(noScaleUpInfo.Pod, apiv1.EventTypeNormal, "NotTriggerScaleUp", | ||||
| 				fmt.Sprintf("pod didn't trigger scale-up (it wouldn't fit if a new node is"+ | ||||
| 					" added): %s", ReasonsMessage(noScaleUpInfo, consideredNodeGroupsMap))) | ||||
| 				fmt.Sprintf("pod didn't trigger scale-up: %s", | ||||
| 					ReasonsMessage(noScaleUpInfo, consideredNodeGroupsMap))) | ||||
| 		} | ||||
| 	} else { | ||||
| 		klog.V(4).Infof("Skipping event processing for unschedulable pods since there is a" + | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue