Skip to content
Snippets Groups Projects
Commit f55e03b4 authored by Robert Latta's avatar Robert Latta
Browse files

removed erroneous decode. RE. DBOARD3-459

parent e0cfa124
No related branches found
No related tags found
No related merge requests found
......@@ -1240,7 +1240,7 @@ def reload_lab_router_config_chorded(self, hostname):
# load new netconf data, in this thread
netconf_str = retrieve_and_persist_netconf_config(hostname, lab=True)
netconf_doc = etree.fromstring(netconf_str.decode('utf-8'))
netconf_doc = etree.fromstring(netconf_str)
refresh_juniper_interface_list(hostname, netconf_doc, lab=True)
......@@ -1265,7 +1265,7 @@ def reload_lab_router_config_chorded(self, hostname):
def reload_router_config_chorded(self, hostname):
self.log_info(f'loading netconf data for {hostname} RL')
netconf_str = retrieve_and_persist_netconf_config(hostname)
netconf_doc = etree.fromstring(netconf_str.decode('utf-8'))
netconf_doc = etree.fromstring(netconf_str)
# clear cached classifier responses for this router, and
# refresh peering data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment