Closed rackstar closed 3 weeks ago
Currently when there is capacity we return the allocation object, but if there is not enough capacity we return an empty array.
The return value should be consistent, hence changing it to empty object.
When reviewing a PR, please indicate intention in comments using the following emojis:
Context
Currently when there is capacity we return the allocation object, but if there is not enough capacity we return an empty array.
The return value should be consistent, hence changing it to empty object.
Changes proposed in this pull request
Test plan
Checklist
Review
When reviewing a PR, please indicate intention in comments using the following emojis: