diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2019-11-04 14:16:13 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-11-04 14:16:13 +0000 |
commit | 1fd194191a56c51052f0c24ddeb3bbf9088ae0ca (patch) | |
tree | 2014adc19ad352d5118e1cade07758e42bba64ae | |
parent | 4d1576b04d35902ce44d26d6a5b2219e6f9c175a (diff) | |
download | sos-1fd194191a56c51052f0c24ddeb3bbf9088ae0ca.tar.gz |
[vdsm] fix directory blacklist style
Plugins must use 'path/to/exclude' rather than 'path/to/exclude/*'
in order to omit a directory and all its content from the report.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/vdsm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/vdsm.py b/sos/plugins/vdsm.py index b2a1ca58..69672643 100644 --- a/sos/plugins/vdsm.py +++ b/sos/plugins/vdsm.py @@ -60,9 +60,9 @@ class Vdsm(Plugin, RedHatPlugin): plugin_name = 'vdsm' def setup(self): - self.add_forbidden_path('/etc/pki/vdsm/keys/*') + self.add_forbidden_path('/etc/pki/vdsm/keys') self.add_forbidden_path('/etc/pki/vdsm/libvirt-spice/*-key.*') - self.add_forbidden_path('/etc/pki/libvirt/private/*') + self.add_forbidden_path('/etc/pki/libvirt/private') self.add_service_status(['vdsmd', 'supervdsmd']) |