diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2019-02-21 13:17:01 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-22 17:53:41 +0000 |
commit | 9e8a89cb10c07bcb757bac63c1d4916bcfa198d9 (patch) | |
tree | 51687faedc21c7cd15af5b94be36d5488b7242b7 | |
parent | 0606e0f0931ad17c2bba46901cb54f1fd9073e16 (diff) | |
download | sos-9e8a89cb10c07bcb757bac63c1d4916bcfa198d9.tar.gz |
[Plugin] use service_is_running() in SoSPredicate()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 4a8a8b35..ab21a252 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -154,7 +154,7 @@ class SoSPredicate(object): pvalue |= self._owner.is_module_loaded(k) for s in self._services: - pvalue |= self._owner.is_service(s) and self._owner.is_enabled(s) + pvalue |= self._owner.service_is_running(s) return pvalue and not self._dry_run |