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 {
|
if status.Result != ScaleUpSuccessful && status.Result != ScaleUpError {
|
||||||
for _, noScaleUpInfo := range status.PodsRemainUnschedulable {
|
for _, noScaleUpInfo := range status.PodsRemainUnschedulable {
|
||||||
context.Recorder.Event(noScaleUpInfo.Pod, apiv1.EventTypeNormal, "NotTriggerScaleUp",
|
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"+
|
fmt.Sprintf("pod didn't trigger scale-up: %s",
|
||||||
" added): %s", ReasonsMessage(noScaleUpInfo, consideredNodeGroupsMap)))
|
ReasonsMessage(noScaleUpInfo, consideredNodeGroupsMap)))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
klog.V(4).Infof("Skipping event processing for unschedulable pods since there is a" +
|
klog.V(4).Infof("Skipping event processing for unschedulable pods since there is a" +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue