aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2017-03-28 15:46:49 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-03-28 15:46:49 +0100
commit5c99b504dc7d1f3e45f2733787ee6834fbd6d1c0 (patch)
tree3c33ed114cd503c1f0891d2d7961dd5d56d62782
parentc39a3df3ee1380fc6f2b394912923780ff0d9956 (diff)
downloadsos-5c99b504dc7d1f3e45f2733787ee6834fbd6d1c0.tar.gz
[gnocchi] convert add_copy_spec_limit -> add_copy_spec
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/gnocchi.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sos/plugins/gnocchi.py b/sos/plugins/gnocchi.py
index a386e789..9c308ebb 100644
--- a/sos/plugins/gnocchi.py
+++ b/sos/plugins/gnocchi.py
@@ -38,11 +38,11 @@ class GnocchiPlugin(Plugin, RedHatPlugin):
self.limit = self.get_option("log_size")
if self.get_option("all_logs"):
- self.add_copy_spec_limit("/var/log/gnocchi/",
- sizelimit=self.limit)
+ self.add_copy_spec("/var/log/gnocchi/",
+ sizelimit=self.limit)
else:
- self.add_copy_spec_limit("/var/log/gnocchi/*.log",
- sizelimit=self.limit)
+ self.add_copy_spec("/var/log/gnocchi/*.log",
+ sizelimit=self.limit)
vars = [p in os.environ for p in [
'OS_USERNAME', 'OS_PASSWORD', 'OS_TENANT_NAME']]