Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 14fb2fe7842c7fb4650cd25b3d5a200e7d504d5e
https://github.com/Checkmk/checkmk/commit/14fb2fe7842c7fb4650cd25b3d5a200e7…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2024-04-04 (Thu, 04 Apr 2024)
Changed paths:
A cmk/base/core_nagios/_host_check_config.py
A cmk/base/core_nagios/_host_check_template.py
M cmk/base/core_nagios/_precompile_host_checks.py
Log Message:
-----------
precompiled hosts file: make template accessible to linters
This makes the generated code accessable to linters and co,
while keeping the (performance) advantage of a compiled
file without IO to read a configuration.
Instead of having the whole file generated, we take a template
and only replace the definition of the CONFIG constant.
This uncovers quite a few problems.
We try to only make some small changes (drop unused imports)
to keep the change understandable.
Change-Id: If9c2b36b982515f95827ec1810b89f6b8707258a
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications