Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: c1bcd970c03dda10fc6189fb45b2ed9fa812cd0b
https://github.com/tribe29/checkmk/commit/c1bcd970c03dda10fc6189fb45b2ed9fa…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2021-09-29 (Wed, 29 Sep 2021)
Changed paths:
A .werks/13336
M cmk/base/plugins/agent_based/services.py
M tests/unit/cmk/base/plugins/agent_based/test_services.py
Log Message:
-----------
13336 FIX Windows Services works if Services states has no elements
The previous version of services.py falsely assumed that if params contains the key
"states", that the corresponding entry contains at least one element matching
the
service. However, this assumption is violated if ones species a rule without any
elements. In this params["states"] is the empty list [].
Change-Id: If614fe532379b87a9730cce02941e3794eca46df