From bda1585bc594aadd51329b5f2f4d0de08ad50f4b Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Fri, 26 Apr 2013 17:02:28 +0100 Subject: 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 --- sos/plugins/filesys.py | 4 ++-- 1 file 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([ -- cgit