aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2019-02-21 13:17:01 +0000
committerBryn M. Reeves <bmr@redhat.com>2019-03-22 17:53:41 +0000
commit9e8a89cb10c07bcb757bac63c1d4916bcfa198d9 (patch)
tree51687faedc21c7cd15af5b94be36d5488b7242b7
parent0606e0f0931ad17c2bba46901cb54f1fd9073e16 (diff)
downloadsos-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__.py2
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