Remove substitutions for command error msg

For server_tag_add and server_tag_delete commands,
the substitution in the command error message doesn't
work, this change removes the substitutions, and to
tell user the 'specified' tag can not be added
or deleted is enough, like other commands do.

Change-Id: I7a9c9103d4fc88e1b82458f6ccc9738c6aa0315c
Closes-Bug: #1708408
This commit is contained in:
huangtianhua 2017-08-04 10:12:16 +08:00
parent aec93636f6
commit 8353b3c897
1 changed files with 2 additions and 2 deletions

View File

@ -4728,7 +4728,7 @@ def do_server_tag_add(cs, args):
lambda t: server.add_tag(t),
args.tag,
_("Request to add tag %s to specified server has been accepted."),
_("Unable to add tag %s to the specified server."))
_("Unable to add the specified tag to the server."))
@api_versions.wraps("2.26")
@ -4750,7 +4750,7 @@ def do_server_tag_delete(cs, args):
lambda t: server.delete_tag(t),
args.tag,
_("Request to delete tag %s from specified server has been accepted."),
_("Unable to delete tag %s from specified server."))
_("Unable to delete the specified tag from the server."))
@api_versions.wraps("2.26")