Skip to content

Commit 180c35f

Browse files
authored
just return the keys instead of all the processors in maps_utils,py
1 parent e1b40d2 commit 180c35f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythonbpf/maps/maps_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ def get_processor(cls, map_type_name):
3737
@classmethod
3838
def known_types(cls):
3939
"""Names of every registered map type, for error messages"""
40-
return list(cls._processors)
40+
return list(cls._processors.keys())

0 commit comments

Comments
 (0)