From 8cee27345d7903811ab374de2954e40490e1ee7f Mon Sep 17 00:00:00 2001 From: Doug Szumski Date: Wed, 7 Mar 2018 12:50:36 +0000 Subject: [PATCH] Correct detection status in congestion plugin The congestion plugin should only enable itself if detection succeeds. Task: 6664 Story: 2001645 Change-Id: I11d465450ef346565150c055187ba2cf5929ba4c --- monasca_setup/detection/plugins/congestion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monasca_setup/detection/plugins/congestion.py b/monasca_setup/detection/plugins/congestion.py index 7524cb35..817c8c0a 100644 --- a/monasca_setup/detection/plugins/congestion.py +++ b/monasca_setup/detection/plugins/congestion.py @@ -34,7 +34,7 @@ class Congestion(monasca_setup.detection.Plugin): """Run detection, set self.available True if the service is detected. """ - self.available = True + self.available = False # Start with plugin-specific configuration parameters # Try to detect the location of the Nova configuration file. # Walk through the list of processes, searching for 'nova-compute'