summaryrefslogtreecommitdiffstats
path: root/dovetail/container.py
diff options
context:
space:
mode:
authorLeo wang <grakiss.wanglei@huawei.com>2017-07-21 01:19:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-21 01:19:03 +0000
commitf799fe4f81f46731147e7da255475d4bcc5261fd (patch)
treebf5551eaf1b1d3de0f5aac9d2474ea333dc3035e /dovetail/container.py
parent610c7a9669a80b794611a54ff41829a6fe95d8b9 (diff)
parent2e08fbf269b31c0400489e14dd8a2538e330edf9 (diff)
Merge "Delete the ERROR log when it is not https"
Diffstat (limited to 'dovetail/container.py')
-rw-r--r--dovetail/container.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/container.py b/dovetail/container.py
index c8a84eb3..1a5867a7 100644
--- a/dovetail/container.py
+++ b/dovetail/container.py
@@ -171,7 +171,7 @@ class Container(object):
cacert_volume = ""
https_enabled = dt_utils.check_https_enabled(cls.logger)
cacert = os.getenv('OS_CACERT',)
- if https_enabled == 0:
+ if https_enabled:
cls.logger.info("https enabled...")
if cacert is not None:
if not os.path.isfile(cacert):