Make event messages more readable

Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
This commit is contained in:
wlp1153468871 2022-11-04 14:22:59 +08:00
parent 23a0955129
commit c5f64c7d2c
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ func (d *Descheduler) updateScheduleResult(h *core.SchedulingResultHelper) error
if unschedulableSum == 0 {
return nil
}
message = fmt.Sprintf(", %d total descheduled replica(s)", unschedulableSum) + message
message += fmt.Sprintf(", %d total descheduled replica(s)", unschedulableSum)
var err error
defer func() {