Skip to content

Commit ca51b7c

Browse files
committed
Fix invalid member func for MapProcessorRegistry
1 parent 2e005f6 commit ca51b7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythonbpf/maps/maps_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def process_bpf_map(func_node, module):
251251

252252
# Handle only HashMap maps
253253
if isinstance(rval, ast.Call) and isinstance(rval.func, ast.Name):
254-
handler = MapProcessorRegistry.get(rval.func.id)
254+
handler = MapProcessorRegistry.get_processor(rval.func.id)
255255
if handler:
256256
handler(map_name, rval, module)
257257
else:

0 commit comments

Comments
 (0)