aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2017-04-20 16:19:46 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-04-20 16:19:46 +0100
commit44f3e7332516f09738dc865e943eb70eceb50553 (patch)
tree812d4aa60aba1f72bcbc6cdbb7016c6b80608c30
parent5d76e3b8ce0a983c511c0a50e67cf8f7886914f0 (diff)
downloadsos-44f3e7332516f09738dc865e943eb70eceb50553.tar.gz
[ceph] fix list formatting
Fix the formatting of the add_copy_spec() lists in ceph: make the first conform to the sos bracing and indenting rules for lists in argument tuples, and fix a missing comma in the second. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/ceph.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
index 06b86050..afb6e246 100644
--- a/sos/plugins/ceph.py
+++ b/sos/plugins/ceph.py
@@ -40,7 +40,8 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
self.add_copy_spec([
"/var/log/ceph/*.log",
"/var/log/radosgw/*.log",
- "/var/log/calamari/*.log"], sizelimit=limit)
+ "/var/log/calamari/*.log"
+ ], sizelimit=limit)
else:
self.add_copy_spec([
"/var/log/ceph/",
@@ -50,7 +51,7 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
self.add_copy_spec([
"/etc/ceph/",
- "/etc/calamari/"
+ "/etc/calamari/",
"/var/lib/ceph/",
"/var/run/ceph/"
])