Skip to content
Snippets Groups Projects
Commit ccee6010 authored by Erik Reid's avatar Erik Reid
Browse files

fixed some variable name errors

parent d86b8fe4
No related branches found
No related tags found
No related merge requests found
......@@ -126,8 +126,8 @@ def update_lg_routers(self):
r.delete(k)
with db.connection(InventoryTask.config["ops-db"]) as cx:
for r in opsdb.lookup_lg_routers(cx):
r.set(f'opsdb:lg:{r["name"]}', json.dumps(r))
for router in opsdb.lookup_lg_routers(cx):
r.set(f'opsdb:lg:{router["equipment name"]}', json.dumps(router))
logger.debug('<<< update_lg_routers')
......
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