Merge pull request #2745 from wlp1153468871/wlp

Make event messages more readable
This commit is contained in:
karmada-bot 2022-11-04 17:33:27 +08:00 committed by GitHub
commit 363883a40c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {