mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Fix invalid member func for MapProcessorRegistry
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user