mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 09:58:34 +00:00
just return the keys instead of all the processors in maps_utils,py
This commit is contained in:
committed by
GitHub
parent
e1b40d2c77
commit
180c35f83e
@ -37,4 +37,4 @@ class MapProcessorRegistry:
|
||||
@classmethod
|
||||
def known_types(cls):
|
||||
"""Names of every registered map type, for error messages"""
|
||||
return list(cls._processors)
|
||||
return list(cls._processors.keys())
|
||||
|
||||
Reference in New Issue
Block a user