Werk #14062: fileinfo: Fix state for "Out of relevant time of day"

Component Checks & agents
Title fileinfo: Fix state for "Out of relevant time of day"
Date Jul 6, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

After the migration to the new check API in version 2.1.0, fileinfo check didn't calculate the CheckMk state correctly. Levels were applied even when checked outside of relevant time of day. Now, state will always be OK if outside of relevant time period.

To the list of all Werks