aboutsummaryrefslogtreecommitdiffstats
path: root/components/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'components/scripts')
-rw-r--r--components/scripts/python/ccsdk_restconf/restconf_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/scripts/python/ccsdk_restconf/restconf_client.py b/components/scripts/python/ccsdk_restconf/restconf_client.py
index 92069c571..6d18b03c5 100644
--- a/components/scripts/python/ccsdk_restconf/restconf_client.py
+++ b/components/scripts/python/ccsdk_restconf/restconf_client.py
@@ -47,7 +47,7 @@ class RestconfClient:
expected_result = '"netconf-node-topology:connection-status":"connected"'
while counter < self.__odl_status_check_limit:
result = web_client_service.exchangeResource("GET", url, "")
- if expected_result in result:
+ if expected_result in result.body:
self.__log.info("NF was mounted successfully on ODL")
return None
sleep(self.__odl_status_check_pause)