diff options
-rw-r--r-- | sos/plugins/openstack_instack.py | 16 | ||||
-rw-r--r-- | sos/plugins/openstack_manila.py | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sos/plugins/openstack_instack.py b/sos/plugins/openstack_instack.py index 074325c9..30acecf0 100644 --- a/sos/plugins/openstack_instack.py +++ b/sos/plugins/openstack_instack.py @@ -34,15 +34,15 @@ class OpenStackInstack(Plugin): self.limit = self.get_option("log_size") if self.get_option("all_logs"): - self.add_copy_spec_limit("/var/log/mistral/", - sizelimit=self.limit) - self.add_copy_spec_limit("/var/log/zaqar/", - sizelimit=self.limit) + self.add_copy_spec("/var/log/mistral/", + sizelimit=self.limit) + self.add_copy_spec("/var/log/zaqar/", + sizelimit=self.limit) else: - self.add_copy_spec_limit("/var/log/mistral/*.log", - sizelimit=self.limit) - self.add_copy_spec_limit("/var/log/zaqar/*.log", - sizelimit=self.limit) + self.add_copy_spec("/var/log/mistral/*.log", + sizelimit=self.limit) + self.add_copy_spec("/var/log/zaqar/*.log", + sizelimit=self.limit) vars = [p in os.environ for p in [ 'OS_USERNAME', 'OS_PASSWORD', 'OS_TENANT_NAME']] diff --git a/sos/plugins/openstack_manila.py b/sos/plugins/openstack_manila.py index 7d6863dc..b6045855 100644 --- a/sos/plugins/openstack_manila.py +++ b/sos/plugins/openstack_manila.py @@ -29,11 +29,11 @@ class OpenStackManila(Plugin): self.limit = self.get_option("log_size") if self.get_option("all_logs"): - self.add_copy_spec_limit("/var/log/manila/*", - sizelimit=self.limit) + self.add_copy_spec("/var/log/manila/*", + sizelimit=self.limit) else: - self.add_copy_spec_limit("/var/log/manila/*.log", - sizelimit=self.limit) + self.add_copy_spec("/var/log/manila/*.log", + sizelimit=self.limit) def postproc(self): protect_keys = [ |