diff options
-rw-r--r-- | sos/plugins/lxd.py | 5 |
1 files 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([ |