diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2012-11-29 20:56:47 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2012-11-29 20:56:47 +0000 |
commit | 8cd42d3d2af6f707d6a3ae1a84424669811aeb3e (patch) | |
tree | 8ff30287166a7c11b41ccb9069f6b333305511bc | |
parent | 5528569f88de2b5237d972fc80f1a179f38b6aa8 (diff) | |
download | sos-8cd42d3d2af6f707d6a3ae1a84424669811aeb3e.tar.gz |
Fix typo in cgroups module and set plugin_name
Fix a typo in the plugin class import statement and set the
base class's plugin_name.
-rw-r--r-- | sos/plugins/cgroups.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/cgroups.py b/sos/plugins/cgroups.py index 08557e55..73e6ac93 100644 --- a/sos/plugins/cgroups.py +++ b/sos/plugins/cgroups.py @@ -12,12 +12,14 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -from sos.plugintools import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin +from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin class cgroups(Plugin, DebianPlugin, UbuntuPlugin): """cgroup subsystem information """ + plugin_name = "cgroups" + files = ('/proc/cgroups',) def setup(self): |