Commit ea9e1a41 authored by wangqingcan's avatar wangqingcan

not updae timestamp for each scheduling attempt

parent bf20886f
...@@ -267,7 +267,6 @@ func (sched *Scheduler) recordSchedulingFailure(pod *v1.Pod, err error, reason s ...@@ -267,7 +267,6 @@ func (sched *Scheduler) recordSchedulingFailure(pod *v1.Pod, err error, reason s
sched.config.PodConditionUpdater.Update(pod, &v1.PodCondition{ sched.config.PodConditionUpdater.Update(pod, &v1.PodCondition{
Type: v1.PodScheduled, Type: v1.PodScheduled,
Status: v1.ConditionFalse, Status: v1.ConditionFalse,
LastProbeTime: metav1.Now(),
Reason: reason, Reason: reason,
Message: err.Error(), Message: err.Error(),
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment