summaryrefslogtreecommitdiffstats
path: root/ansible-server
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-02-13 18:40:09 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-13 18:40:09 +0000
commitf4089a2309fecb01e6e3ef06e03991a6be02e2d9 (patch)
tree2e62f91ce6d1bb9a8bf5049d20ae383c3835dd1c /ansible-server
parent268c4ba118679fa90b973ac49660d8f83eb9575b (diff)
parent1b3e909f413e81a50cb5f44e187ea3cdd1e32f69 (diff)
Merge "Changes in RestServer.py"
Diffstat (limited to 'ansible-server')
-rw-r--r--ansible-server/src/main/ansible-server/RestServer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible-server/src/main/ansible-server/RestServer.py b/ansible-server/src/main/ansible-server/RestServer.py
index 23484a54..d5f85d1a 100644
--- a/ansible-server/src/main/ansible-server/RestServer.py
+++ b/ansible-server/src/main/ansible-server/RestServer.py
@@ -410,11 +410,11 @@ class TestManager (object):
else:
for key in data_inventory_orig:
- if node in " ".join(data_inventory_orig[key]):
+ if node+" " in " ".join(data_inventory_orig[key]):
if not key in data_inventory_target:
data_inventory_target[key] = []
for cred in data_inventory_orig[key]:
- if node in cred:
+ if node+" " in cred:
data_inventory_target[key].append(cred)
Fail = False