Merge "Deprecated the `--volume-service-name` option"

This commit is contained in:
Jenkins 2016-07-01 11:50:45 +00:00 committed by Gerrit Code Review
commit 262b2393c9
1 changed files with 3 additions and 1 deletions

View File

@ -526,9 +526,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,