Merge "Fix getting number of collector services for 0.9"

This commit is contained in:
Jenkins 2016-06-06 11:17:11 +00:00 committed by Gerrit Code Review
commit 3cc1528103

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