diff options
| author | git-harry <git-harry@live.co.uk> | 2015-01-08 12:21:33 +0000 |
|---|---|---|
| committer | git-harry <git-harry@live.co.uk> | 2015-01-08 12:21:33 +0000 |
| commit | 3a97cb27d3f4388bc0246829f0c9da044bf00cff (patch) | |
| tree | de1eabc4f1bbd55fb3cf005db5591b1b9952a1dc /cinderclient/v2/shell.py | |
| parent | 9c1ec1d19c5a652cc7cd10d8f1578a771ae950fd (diff) | |
| download | python-cinderclient-3a97cb27d3f4388bc0246829f0c9da044bf00cff.tar.gz | |
v2 error message grammatical error
This commit fixes an error that occurs in a number of places in the v2
shell; the word 'the' is missing from a number of the error message
strings.
Change-Id: I6d1026c965f84c9c39fcfd175b5d5cbbbad5ef5c
Diffstat (limited to 'cinderclient/v2/shell.py')
| -rw-r--r-- | cinderclient/v2/shell.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index a0f6977..fe1eb56 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -390,7 +390,7 @@ def do_delete(cs, args): failure_count += 1 print("Delete for volume %s failed: %s" % (volume, e)) 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.") @@ -408,7 +408,7 @@ def do_force_delete(cs, args): failure_count += 1 print("Delete for volume %s failed: %s" % (volume, e)) 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.") @@ -1851,7 +1851,7 @@ def do_consisgroup_delete(cs, args): print("Delete for consistency group %s failed: %s" % (consistencygroup, e)) 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.") @@ -1946,5 +1946,5 @@ def do_cgsnapshot_delete(cs, args): failure_count += 1 print("Delete for cgsnapshot %s failed: %s" % (cgsnapshot, e)) 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.") |
