Fix rabbitmq detection
rabbitmq was being detected incorrectly and was creating process checks on hosts it didn't exist on. Change-Id: I840b5fd5acf6d6b17093469a2c63694415fb458d
This commit is contained in:
parent
1a9a9b51f8
commit
e3fb6aac92
|
@ -48,7 +48,7 @@ class RabbitMQ(monasca_setup.detection.Plugin):
|
|||
def _detect(self):
|
||||
"""Run detection, set self.available True if the service is detected.
|
||||
"""
|
||||
if monasca_setup.detection.find_process_service('rabbitmq-server') is not None:
|
||||
if monasca_setup.detection.find_process_service('rabbitmq-server'):
|
||||
self.available = True
|
||||
|
||||
def _get_config(self):
|
||||
|
|
Loading…
Reference in New Issue