mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Stop setting Message when updating PodScheduled condition
This commit is contained in:
parent
1cba05574b
commit
9cba3fc5ae
@ -104,7 +104,6 @@ func (s *Scheduler) scheduleOne() {
|
||||
Type: api.PodScheduled,
|
||||
Status: api.ConditionFalse,
|
||||
Reason: "Unschedulable",
|
||||
Message: err.Error(),
|
||||
})
|
||||
return
|
||||
}
|
||||
@ -145,7 +144,6 @@ func (s *Scheduler) scheduleOne() {
|
||||
Type: api.PodScheduled,
|
||||
Status: api.ConditionFalse,
|
||||
Reason: "BindingRejected",
|
||||
Message: err.Error(),
|
||||
})
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user