From c6d0d286a00afd0e5e8bad95249740e00904caa0 Mon Sep 17 00:00:00 2001 From: Louis Bouchard Date: Fri, 24 Jun 2016 17:18:25 +0200 Subject: [lxd] Use add_copy_spec_limit sizelimit is only available with add_copy_spec_limit. Replace it. Closes: #843 Signed-off-by: Louis Bouchard --- sos/plugins/lxd.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sos/plugins/lxd.py b/sos/plugins/lxd.py index 5efa4c03..d7f1526a 100644 --- a/sos/plugins/lxd.py +++ b/sos/plugins/lxd.py @@ -28,9 +28,8 @@ class LXD(Plugin, UbuntuPlugin): "/etc/default/lxc-bridge", ]) - self.add_copy_spec([ - "/var/log/lxd*" - ], sizelimit=self.get_option("log_size")) + self.add_copy_spec_limit("/var/log/lxd*", + sizelimit=self.get_option("log_size")) # List of containers available on the machine self.add_cmd_output([ -- cgit