aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-26 17:02:28 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-26 17:02:28 +0100
commitbda1585bc594aadd51329b5f2f4d0de08ad50f4b (patch)
treeddac3927e0b1b52e1082999b81f6c0334a070eb1
parentd93908860b7d22388b1ace5082c197b6925752cb (diff)
downloadsos-bda1585bc594aadd51329b5f2f4d0de08ad50f4b.tar.gz
Fix broken option_list in filesys plug-in
The filesys plugin has the "option_list defined twice" bug. Fix it and ensure that both the 'lsof' and 'dumpe2fs' options are usable. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/filesys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py
index 759ccb2e..06be7058 100644
--- a/sos/plugins/filesys.py
+++ b/sos/plugins/filesys.py
@@ -23,8 +23,8 @@ class Filesys(Plugin, RedHatPlugin, UbuntuPlugin):
plugin_name = 'filesys'
- option_list = [("lsof", 'gathers information on all open files', 'slow', False)]
- option_list = [("dumpe2fs", 'dump filesystem information', 'slow', False)]
+ option_list = [("lsof", 'gathers information on all open files', 'slow', False),
+ ("dumpe2fs", 'dump filesystem information', 'slow', False)]
def setup(self):
self.add_copy_specs([