mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-23 19:52:10 +00:00
Provide cleaner output for nodestorage delete
Rather than dumping the structure of the response, provide a consistent plain text output.
This commit is contained in:
parent
6efb8ff1b7
commit
fcd46c7b72
@ -125,7 +125,10 @@ def deletestorage(noderange, options, args):
|
||||
for rsp in session.delete(
|
||||
'/noderange/{0}/configuration/storage/volumes/{1}'.format(
|
||||
noderange, names)):
|
||||
print(repr(rsp))
|
||||
if 'deleted' in rsp:
|
||||
print('Deleted: {0}'.format(rsp['deleted']))
|
||||
else:
|
||||
print(repr(rsp))
|
||||
|
||||
|
||||
def setstorage(noderange, options, args):
|
||||
|
Loading…
Reference in New Issue
Block a user