From 407925c805c8b53c85993f7b4021a7ff89f69f74 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Fri, 28 Aug 2015 11:29:47 +0200 Subject: [PATCH] Make v1.1 the default CLI version Zaqar has moved past v1 and it's now supporting v1.1 and v2. Since v1.1 is compatible with v1, this commits adds that version to the CLI and makes it the default version. Change-Id: Ibb747a18cfcf4c6c89bfd9dc07885b957904784a --- zaqarclient/queues/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zaqarclient/queues/cli.py b/zaqarclient/queues/cli.py index f0171097..e7a50c24 100644 --- a/zaqarclient/queues/cli.py +++ b/zaqarclient/queues/cli.py @@ -19,11 +19,12 @@ from openstackclient.common import utils LOG = logging.getLogger(__name__) -DEFAULT_QUEUES_API_VERSION = '1' +DEFAULT_QUEUES_API_VERSION = '1.1' API_VERSION_OPTION = 'os_queues_api_version' API_NAME = "messaging" API_VERSIONS = { "1": "zaqarclient.queues.v1.client.Client", + "1.1": "zaqarclient.queues.v1.client.Client", }