From 9d790191ee44a9df776f99f9b167d730bca10776 Mon Sep 17 00:00:00 2001 From: Rodion Promyshlennikov Date: Fri, 3 Jun 2016 21:22:40 +0300 Subject: [PATCH] Fix getting number of collector services for 0.9 Change-Id: Ic933c2b35045b37cbd3435eb63cdd9c3c95afe29 --- stacklight_tests/lma_collector/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stacklight_tests/lma_collector/api.py b/stacklight_tests/lma_collector/api.py index d132bf7..c6a9581 100644 --- a/stacklight_tests/lma_collector/api.py +++ b/stacklight_tests/lma_collector/api.py @@ -45,7 +45,8 @@ class LMACollectorPluginApi(base_test.PluginApi): "collectd": 1, "collectdmon": 1 } - if self.settings.version == "0.9": + + if self.settings.version.startswith("0.9"): processes_count["hekad"] = 1 else: # Starting with 0.10, there are one collector for logs and one for