aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2017-03-31 01:40:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-31 01:40:34 +0000
commitc9b4860c5a9d27f0a8b70268c2f938b5481de821 (patch)
tree365a99bedec7b79e7e8638e9a117cf373c45f074
parenta7b9f846883f9614830227e0bde866aebbde5081 (diff)
parentaa477334a3cb2e49c4343f66bff44c89d7edcf24 (diff)
Merge "Bugfix: cacert should suppot insecure mode if needed"
-rw-r--r--yardstick/common/openstack_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yardstick/common/openstack_utils.py b/yardstick/common/openstack_utils.py
index 2df8fa565..788de0de4 100644
--- a/yardstick/common/openstack_utils.py
+++ b/yardstick/common/openstack_utils.py
@@ -79,6 +79,7 @@ def get_session():
except KeyError:
return session.Session(auth=auth)
else:
+ cacert = False if cacert.lower() == "false" else cacert
return session.Session(auth=auth, verify=cacert)