diff options
-rw-r--r-- | sos/plugins/openstack_horizon.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/openstack_horizon.py b/sos/plugins/openstack_horizon.py index d514753a..af133dcd 100644 --- a/sos/plugins/openstack_horizon.py +++ b/sos/plugins/openstack_horizon.py @@ -39,7 +39,9 @@ class OpenStackHorizon(Plugin): ] regexp = r"((?m)^\s*(%s)\s*=\s*)(.*)" % "|".join(protect_keys) - self.do_path_regex_sub("/etc/openstack-dashboard/*", + self.do_path_regex_sub("/etc/openstack-dashboard/.*\.json", + regexp, r"\1*********") + self.do_path_regex_sub("/etc/openstack-dashboard/local_settings", regexp, r"\1*********") |