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

fixed un-refactored function name

parent 585842da
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ def update_equipment_locations():
for key in r.scan_iter('opsdb:location:*'):
r.delete(key)
with db.connection(InventoryTask.config["ops-db"]) as cx:
for ld in opsdb.get_equipment_location_data(cx):
for ld in opsdb.lookup_pop_info(cx):
r.set('opsdb:location:%s' % ld['equipment_name'], json.dumps(ld))
logger.debug('<<< update_equipment_locations')
......
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