From e4ee4ff03c4ae8d91595175d8319f3f172091a41 Mon Sep 17 00:00:00 2001
From: licanwei
Date: Sat, 26 Jan 2019 14:10:20 +0800
Subject: [PATCH] DEFAULT_VER should be '1.latest'
Change-Id: I359838db9ee8427812215833f379a84463c8dbfb
---
watcherclient/common/httpclient.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/watcherclient/common/httpclient.py b/watcherclient/common/httpclient.py
index 3c9848c..50f3beb 100644
--- a/watcherclient/common/httpclient.py
+++ b/watcherclient/common/httpclient.py
@@ -43,7 +43,7 @@ from watcherclient import exceptions
# microversion support in the client properly! See
# http://specs.openstack.org/openstack/watcher-specs/specs/kilo/api-microversions.html # noqa
# for full details.
-DEFAULT_VER = 'latest'
+DEFAULT_VER = '1.latest'
LAST_KNOWN_API_VERSION = 1
LATEST_VERSION = '1.{}'.format(LAST_KNOWN_API_VERSION)