karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.11k stars 802 forks source link

Automated cherry pick of #3591: Change the length of modelSortings array for panic of index #3607

Closed sunbinnnnn closed 10 months ago

sunbinnnnn commented 11 months ago

Cherry pick of #3591 on release-1.3.

3591: Change the length of modelSortings array for panic of index

For details on the cherry pick process, see the cherry pick requests page.

`karmada-controller-manager`: Fixed the panic issue in case of the grade number of resourceModel is less than the number of resources.
Poor12 commented 11 months ago

Thanks @sunbinnnnn, could you please help add the release-note together?

karmada-bot commented 10 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/karmada-io/karmada/blob/release-1.3/OWNERS)~~ [RainbowMango] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
Poor12 commented 10 months ago

/lgtm