Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add deployment_handler printout to prepare env
[functest.git]
/
functest
/
utils
/
functest_utils.py
diff --git
a/functest/utils/functest_utils.py
b/functest/utils/functest_utils.py
index
12d8e90
..
b2c36cf
100644
(file)
--- a/
functest/utils/functest_utils.py
+++ b/
functest/utils/functest_utils.py
@@
-270,7
+270,7
@@
def get_resolvconf_ns():
while line:
ip = re.search(r"\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b", line)
if ip:
- resolver.nameservers = [
str(ip
)]
+ resolver.nameservers = [
ip.group(0
)]
try:
result = resolver.query('opnfv.org')[0]
if result != "":