diff options
-rw-r--r-- | sos/plugins/dovecot.py | 4 | ||||
-rw-r--r-- | sos/plugins/networking.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/dovecot.py b/sos/plugins/dovecot.py index 8d2fd3d8..1222a91b 100644 --- a/sos/plugins/dovecot.py +++ b/sos/plugins/dovecot.py @@ -22,8 +22,8 @@ class Dovecot(Plugin): plugin_name = "dovecot" def setup(self): - self.addCopySpec("/etc/dovecot*") - self.addCmdOutput("/usr/sbin/dovecot -n") + self.add_copy_spec("/etc/dovecot*") + self.add_cmd_output("/usr/sbin/dovecot -n") class RedHatDovecot(Dovecot, RedHatPlugin): """dovecot server related information for RedHat based distribution diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 52f3b651..fa6aeaa2 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -98,7 +98,7 @@ class Networking(Plugin): self.add_cmd_output("/sbin/ethtool -a "+eth) self.add_cmd_output("/sbin/ethtool -c "+eth) self.add_cmd_output("/sbin/ethtool -g "+eth) - self.addCmdOutput("/sbin/ethtool -g "+eth) + self.add_cmd_output("/sbin/ethtool -g "+eth) if os.path.exists("/usr/sbin/brctl"): brctl_file=self.add_cmd_output("/usr/sbin/brctl show") |