Deprecated the `--volume-service-name` option
The `--volume-service-name` name option needs to be deprecated since the volume proxy API and CLI have been deprecated. Change-Id: I8af9b62e56c5ab7bffa79b2700b3c9213aaad65d Closes-Bug: 1570593
This commit is contained in:
parent
f6efc861b7
commit
74c3da93f5
|
@ -523,9 +523,11 @@ class OpenStackComputeShell(object):
|
|||
|
||||
parser.add_argument(
|
||||
'--volume-service-name',
|
||||
action=DeprecatedAction,
|
||||
metavar='<volume-service-name>',
|
||||
default=utils.env('NOVA_VOLUME_SERVICE_NAME'),
|
||||
help=_('Defaults to env[NOVA_VOLUME_SERVICE_NAME].'))
|
||||
use=_('This option will be removed in novaclient 4.3.0.'),
|
||||
help=argparse.SUPPRESS)
|
||||
parser.add_argument(
|
||||
'--volume_service_name',
|
||||
action=DeprecatedAction,
|
||||
|
|
Loading…
Reference in New Issue