Correct detection status in congestion plugin

The congestion plugin should only enable itself if
detection succeeds.

Task: 6664
Story: 2001645

Change-Id: I11d465450ef346565150c055187ba2cf5929ba4c
This commit is contained in:
Doug Szumski 2018-03-07 12:50:36 +00:00
parent 4b11f413c2
commit 8cee27345d
1 changed files with 1 additions and 1 deletions

View File

@ -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'