Fix getting number of collector services for 0.9

Change-Id: Ic933c2b35045b37cbd3435eb63cdd9c3c95afe29
This commit is contained in:
Rodion Promyshlennikov 2016-06-03 21:22:40 +03:00
parent 63651c9f6e
commit 9d790191ee

View File

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