NETWAYS / go-check

A Golang library to create monitoring plugins for Icinga
https://pkg.go.dev/github.com/NETWAYS/go-check
GNU General Public License v2.0
13 stars 4 forks source link

Resolve states of partial results recursively and now correctly #107

Closed RincewindsHat closed 1 year ago

RincewindsHat commented 1 year ago

This patch fixes a bug which causes PartialResults to show "wrong" states, when the state is derived from other PartialResults inside.

The problem was a small piece of code which was forgotten, when the "explicit state" logic was introduced.