Fix invalid member func for MapProcessorRegistry

This commit is contained in:
Pragyansh Chaturvedi
2025-09-30 19:10:25 +05:30
parent 2e005f6eb5
commit ca51b7ce01

View File

@ -251,7 +251,7 @@ def process_bpf_map(func_node, module):
# Handle only HashMap maps
if isinstance(rval, ast.Call) and isinstance(rval.func, ast.Name):
handler = MapProcessorRegistry.get(rval.func.id)
handler = MapProcessorRegistry.get_processor(rval.func.id)
if handler:
handler(map_name, rval, module)
else: