Werk #16819: Wrong and incomplete type annotations in agent based API v2
Komponente | Checks & agents | ||||
Titel | Wrong and incomplete type annotations in agent based API v2 | ||||
Datum | 02.06.2024 | ||||
Level | Kleine Änderung | ||||
Klasse | Bugfix | ||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||
Checkmk versions & editions |
|
This change only affects plugin developers using the API cmk.agent_based.v2
in conjunction with static type checkers.
For section plugins the type annotations for host label functions where wrong and incomplete. The order of the arguments was swapped and the overload allowing to implement host label functions with parameter merge type "ALL" was missing, resulting in flase positives in the linters report.