Blame SOURCES/sos-bz1438269-ceph-collect-etc-calamari.patch

b939f5
From 44f3e7332516f09738dc865e943eb70eceb50553 Mon Sep 17 00:00:00 2001
b939f5
From: "Bryn M. Reeves" <bmr@redhat.com>
b939f5
Date: Thu, 20 Apr 2017 16:19:46 +0100
b939f5
Subject: [PATCH] [ceph] fix list formatting
b939f5
b939f5
Fix the formatting of the add_copy_spec() lists in ceph: make the
b939f5
first conform to the sos bracing and indenting rules for lists in
b939f5
argument tuples, and fix a missing comma in the second.
b939f5
b939f5
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
b939f5
---
b939f5
 sos/plugins/ceph.py | 5 +++--
b939f5
 1 file changed, 3 insertions(+), 2 deletions(-)
b939f5
b939f5
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
b939f5
index 06b8605..afb6e24 100644
b939f5
--- a/sos/plugins/ceph.py
b939f5
+++ b/sos/plugins/ceph.py
b939f5
@@ -40,7 +40,8 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
b939f5
             self.add_copy_spec([
b939f5
                 "/var/log/ceph/*.log",
b939f5
                 "/var/log/radosgw/*.log",
b939f5
-                "/var/log/calamari/*.log"], sizelimit=limit)
b939f5
+                "/var/log/calamari/*.log"
b939f5
+            ], sizelimit=limit)
b939f5
         else:
b939f5
             self.add_copy_spec([
b939f5
                 "/var/log/ceph/",
b939f5
@@ -50,7 +51,7 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
b939f5
 
b939f5
         self.add_copy_spec([
b939f5
             "/etc/ceph/",
b939f5
-            "/etc/calamari/"
b939f5
+            "/etc/calamari/",
b939f5
             "/var/lib/ceph/",
b939f5
             "/var/run/ceph/"
b939f5
         ])
b939f5
-- 
b939f5
2.7.4
b939f5