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

fixed bundle loading

parent 283fa960
No related branches found
No related tags found
No related merge requests found
......@@ -1844,18 +1844,10 @@ def populate_poller_interfaces_cache():
lab_interfaces = _load_interfaces(
InventoryTask.config, f'lab:{base_key_pattern}')
bundles = {}
base_bundles_key_pattern = 'netconf-interface-bundles:*'
_load_interface_bundles(
bundles = _load_interface_bundles(
InventoryTask.config,
base_bundles_key_pattern,
use_next_redis=True
)
_load_interface_bundles(
InventoryTask.config,
f'lab:{base_bundles_key_pattern}',
use_next_redis=True)
snmp_indexes = load_snmp_indexes(use_next_redis=True)
def _get_populated_interfaces(interfaces):
......
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