Merge pull request #122969 from kerthcet/fix/claim

[DRA] Fix indexing the error value in unavailableClaim
This commit is contained in:
Kubernetes Prow Robot 2024-01-25 17:34:11 +01:00 committed by GitHub
commit 6c493a1ef9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -747,7 +747,7 @@ func (pl *dynamicResources) Filter(ctx context.Context, cs *framework.CycleState
state.unavailableClaims = sets.New[int]()
}
for index := range unavailableClaims {
for _, index := range unavailableClaims {
claim := state.claims[index]
// Deallocation makes more sense for claims with
// delayed allocation. Claims with immediate allocation