Merge "Deprecate the unused instance-name"

This commit is contained in:
Zuul 2018-10-25 04:29:28 +00:00 committed by Gerrit Code Review
commit 9abb67c8f4
2 changed files with 10 additions and 1 deletions

View File

@ -1423,7 +1423,9 @@ def _print_flavor(flavor):
dest='instance_name',
metavar='<name-regexp>',
default=None,
help=_('Search with regular expression match by server name.'))
action=shell.DeprecatedAction,
help=_('Search with regular expression match by server name. The option '
'is not used and will be removed in T release.'))
@utils.arg(
'--status',
dest='status',

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The ``--instance-name`` option has been deprecated from the ``nova list``
command because the instance name query parameter is ignored by the
compute REST API.