Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
fix: Add a missing status option in "ps" (which is present in "admin …
Browse files Browse the repository at this point in the history
…sessions") (#148)

Backported-From: master
Backported-To: 20.03
  • Loading branch information
achimnol committed Dec 4, 2020
1 parent a6f34a8 commit 6ef20e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/148.fix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a missing status option `CANCELLED` to the `ps` command (which is present in the `admin sessions` command)
2 changes: 1 addition & 1 deletion src/ai/backend/client/cli/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'PENDING',
'PREPARING', 'BUILDING', 'RUNNING', 'RESTARTING',
'RESIZING', 'SUSPENDED', 'TERMINATING',
'TERMINATED', 'ERROR',
'TERMINATED', 'ERROR', 'CANCELLED',
'ALL', # special case
]),
help='Filter by the given status')
Expand Down

0 comments on commit 6ef20e2

Please sign in to comment.