There was an error while loading. Please reload this page.
1 parent d943b78 commit 0f3cc43Copy full SHA for 0f3cc43
1 file changed
pythonbpf/maps/maps_pass.py
@@ -258,6 +258,6 @@ def process_bpf_map(func_node, module):
258
else:
259
logger.warning(f"Unknown map type "
260
f"{rval.func.id}, defaulting to HashMap")
261
- process_hash_map(map_name, rval, module)
+ return process_hash_map(map_name, rval, module)
262
263
raise ValueError("Function under @map must return a map")
0 commit comments