Werk #16365: baked_agents: Fix version displayed on agent files

Component Setup
Title baked_agents: Fix version displayed on agent files
Date Feb 8, 2024
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.1.0p40 2.2.0p22 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Prior to this Werk, the running version of Checkmk was used to display the version of the agents. This caused that after updating Checkmk to a new version, the wrong version of the agents was displayed until they were baked again.

To fix this bug, the agent version is now displayed instead of the Checkmk version.

SUP-14846

To the list of all Werks