Skip to content

Commit 1e47c34

Browse files
committed
Improved successful response to command - slcli account cancel-item
1 parent 358add9 commit 1e47c34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SoftLayer/CLI/account/cancel_item.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ def cli(env, identifier):
1515
manager = AccountManager(env.client)
1616
item = manager.cancel_item(identifier)
1717

18-
env.fout(item)
18+
if item:
19+
env.fout("Item: {} was cancelled.".format(identifier))

0 commit comments

Comments
 (0)