diff --git a/tuned/plugins/base.py b/tuned/plugins/base.py index 6328d6d..2cf40b0 100644 --- a/tuned/plugins/base.py +++ b/tuned/plugins/base.py @@ -33,7 +33,7 @@ class Plugin(object): @property def name(self): - return self.__class__.__module__.split(".")[-1].lstrip("plugin_") + return self.__class__.__module__.split(".")[-1].split("_", 1)[1] # # Plugin configuration manipulation and helpers.