Resource displays NaN value when session status remains in PENDING/PREPARING status after creation #2639
Labels
effort:easy
Need to understand only a specific region of codes (good first issue, easy).
field:UI / UX
impact:visible
This change is visible to users.
type:fix
Fix features that are not working
urgency:blocker
IT SHOULD BE RESOLVED BEFORE DISTRIBUTING
Milestone
What Operating System(s) are you seeing this problem on?
macOS (Apple Silicon)
Backend.AI version
24.03.7
Describe the bug
When after session creation, if session is still in
PENDING
/PREPARING
session, it displays "NaN" value which may degrades user experience. It seems like the resource is not occupied but the value to display is sticked to "occupied_slots". Let's replace them to "requested_slots" if the status is not inRUNNING
.Screenshot(s)
To Reproduce
No response
Expected Behavior
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: