cinderclient deprecated endpoint_type needs dest=

Fix for https://bugs.launchpad.net/python-cinderclient/+bug/1453901 did
not set dest=os_endpoint_type for synonym endpoint_type

Change-Id: I98a8507f2369deff6a6f7f8f08271b169fe651ad
Closes-Bug: 1454436
This commit is contained in:
scottda
2015-05-12 21:34:13 +00:00
parent 24aff3b796
commit be46cdb711

View File

@@ -169,6 +169,7 @@ class OpenStackCinderShell(object):
default=DEFAULT_CINDER_ENDPOINT_TYPE),
help='DEPRECATED! Use --os-endpoint-type.')
parser.add_argument('--endpoint_type',
dest='os_endpoint_type',
help=argparse.SUPPRESS)
parser.add_argument('--os-endpoint-type',