diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py index 2ac02c3403786193ba42498b6ef5267a57d6a309..b450f560b71669e837e6b699cd566378399df9ea 100644 --- a/inventory_provider/tasks/worker.py +++ b/inventory_provider/tasks/worker.py @@ -111,8 +111,8 @@ def snmp_refresh_interfaces(self, hostname, community): @app.task(bind=InventoryTask) def netconf_refresh_config(self, hostname): - InventoryTask.save_key( + InventoryTask.save_key_etree( hostname, "netconf", - netconf.load_config_str(hostname, InventoryTask.config["ssh"])) + netconf.load_config(hostname, InventoryTask.config["ssh"]))