Merge "Add response message when volume delete"

This commit is contained in:
Jenkins 2015-07-30 20:23:59 +00:00 committed by Gerrit Code Review
commit 59fef40f0e
2 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,7 @@ def do_delete(cs, args):
for volume in args.volume:
try:
utils.find_volume(cs, volume).delete()
print("Request to delete volume %s has been accepted." % (volume))
except Exception as e:
failure_count += 1
print("Delete for volume %s failed: %s" % (volume, e))

View File

@ -420,6 +420,7 @@ def do_delete(cs, args):
for volume in args.volume:
try:
utils.find_volume(cs, volume).delete()
print("Request to delete volume %s has been accepted." % (volume))
except Exception as e:
failure_count += 1
print("Delete for volume %s failed: %s" % (volume, e))