From be46cdb7116bcd27e4b552c84fe6f9ee66e96a53 Mon Sep 17 00:00:00 2001 From: scottda Date: Tue, 12 May 2015 21:34:13 +0000 Subject: [PATCH] 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 --- cinderclient/shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cinderclient/shell.py b/cinderclient/shell.py index 9f0dc1960..396c34091 100644 --- a/cinderclient/shell.py +++ b/cinderclient/shell.py @@ -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',