Merge "v2 error message grammatical error"

This commit is contained in:
Jenkins
2015-01-16 18:33:06 +00:00
committed by Gerrit Code Review

View File

@@ -394,7 +394,7 @@ def do_delete(cs, args):
failure_count += 1 failure_count += 1
print("Delete for volume %s failed: %s" % (volume, e)) print("Delete for volume %s failed: %s" % (volume, e))
if failure_count == len(args.volume): if failure_count == len(args.volume):
raise exceptions.CommandError("Unable to delete any of specified " raise exceptions.CommandError("Unable to delete any of the specified "
"volumes.") "volumes.")
@@ -412,7 +412,7 @@ def do_force_delete(cs, args):
failure_count += 1 failure_count += 1
print("Delete for volume %s failed: %s" % (volume, e)) print("Delete for volume %s failed: %s" % (volume, e))
if failure_count == len(args.volume): if failure_count == len(args.volume):
raise exceptions.CommandError("Unable to force delete any of " raise exceptions.CommandError("Unable to force delete any of the "
"specified volumes.") "specified volumes.")
@@ -1855,7 +1855,7 @@ def do_consisgroup_delete(cs, args):
print("Delete for consistency group %s failed: %s" % print("Delete for consistency group %s failed: %s" %
(consistencygroup, e)) (consistencygroup, e))
if failure_count == len(args.consistencygroup): if failure_count == len(args.consistencygroup):
raise exceptions.CommandError("Unable to delete any of specified " raise exceptions.CommandError("Unable to delete any of the specified "
"consistency groups.") "consistency groups.")
@@ -1950,7 +1950,7 @@ def do_cgsnapshot_delete(cs, args):
failure_count += 1 failure_count += 1
print("Delete for cgsnapshot %s failed: %s" % (cgsnapshot, e)) print("Delete for cgsnapshot %s failed: %s" % (cgsnapshot, e))
if failure_count == len(args.cgsnapshot): if failure_count == len(args.cgsnapshot):
raise exceptions.CommandError("Unable to delete any of specified " raise exceptions.CommandError("Unable to delete any of the specified "
"cgsnapshots.") "cgsnapshots.")