diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-04-26 17:02:28 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-04-26 17:02:28 +0100 |
commit | bda1585bc594aadd51329b5f2f4d0de08ad50f4b (patch) | |
tree | ddac3927e0b1b52e1082999b81f6c0334a070eb1 | |
parent | d93908860b7d22388b1ace5082c197b6925752cb (diff) | |
download | sos-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.py | 4 |
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([ |