aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/openstack_swift.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/openstack_swift.py b/sos/plugins/openstack_swift.py
index f3373314..aa4c7f1f 100644
--- a/sos/plugins/openstack_swift.py
+++ b/sos/plugins/openstack_swift.py
@@ -42,7 +42,7 @@ class OpenStackSwift(Plugin):
]
regexp = r"((?m)^\s*(%s)\s*=\s*)(.*)" % "|".join(protect_keys)
- self.do_path_regex_sub("/etc/swift/*.conf*", regexp, r"\1*********")
+ self.do_path_regex_sub("/etc/swift/.*\.conf.*", regexp, r"\1*********")
class DebianOpenStackSwift(OpenStackSwift, DebianPlugin, UbuntuPlugin):