diff options
author | valentin boucher <valentin.boucher@orange.com> | 2017-02-15 10:24:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-02-15 10:24:40 +0000 |
commit | 128f37f591eddae669cb606b65bb1e7ed632e965 (patch) | |
tree | 90c867afa134430869cec1569eba475f64c1c6e4 /functest/utils/functest_utils.py | |
parent | b605fdd304c4e698c64400338394a7b6f9663017 (diff) | |
parent | 8de29e4130fe18398d59692a6fcb492321ad3c60 (diff) |
Merge "update cloudify_ims case"
Diffstat (limited to 'functest/utils/functest_utils.py')
-rw-r--r-- | functest/utils/functest_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index 12d8e902..b2c36cff 100644 --- 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 != "": |