Code Review
/
dovetail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
263e1a9
)
fix judgement for https+no credential case
27/36227/1
author
MatthewLi
<matthew.lijun@huawei.com>
Tue, 20 Jun 2017 09:07:25 +0000
(
05:07
-0400)
committer
MatthewLi
<matthew.lijun@huawei.com>
Tue, 20 Jun 2017 09:08:31 +0000
(
05:08
-0400)
Change-Id: Id3d4e9af04f1882f69b8c9fe588355d76ad001c4
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
dovetail/utils/dovetail_utils.py
patch
|
blob
|
history
diff --git
a/dovetail/utils/dovetail_utils.py
b/dovetail/utils/dovetail_utils.py
index
ae96940
..
573100c
100644
(file)
--- a/
dovetail/utils/dovetail_utils.py
+++ b/
dovetail/utils/dovetail_utils.py
@@
-121,11
+121,11
@@
def source_env(env_file):
def get_ext_net_name(env_file, logger=None):
insecure_option = ''
insecure = os.getenv('OS_INSECURE',)
- if insecure == "true":
+ if insecure == "true"
or insecure == "True"
:
insecure_option = ' --insecure '
else:
print "Warn: env variable OS_INSECUE is %s, if https+no credential \
-
used, it should be set as true" % insecure
+ used, it should be set as true" % insecure
cmd_check = "openstack %s network list" % insecure_option
ret, msg = exec_cmd(cmd_check, logger)