You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Display InstanceAvailability.NO_BALANCE in CLI (#3460)
In apply plans and `dstack offer`, display the
`NO_BALANCE` availability as `no balance`
rather than an empty string.
Small related changes:
- Refactor availability formatting so that it is
consistent across run plans, fleet plans, and
`dstack offer`. In fleet plans, availabilities
are now displayed in lower case (previously,
this was the only place where they were
capitalized).
- In `dstack offer --group-by gpu`, if a GPU is
unavailable due to more than one reason, display
all those reasons (previously, only one of the
availabilities was displayed).
- Default to dispalying unknown availabilities
rather that falling back to an empty string.
This will allow new availability types added in
the future to automatically become visible in
the CLI.
0 commit comments