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
This commit is contained in:
Flavio Percoco 2015-08-28 11:29:47 +02:00
parent 8a81c44f14
commit 407925c805
1 changed files with 2 additions and 1 deletions

View File

@ -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",
}