mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #25741 from fgrzadkowski/unschedulable_pod
Stop setting Message when updating PodScheduled condition
This commit is contained in:
commit
ab10484330
@ -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