Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: a00e284c1aaace22f59da641ee70d2bb793627be
https://github.com/Checkmk/checkmk/commit/a00e284c1aaace22f59da641ee70d2bb7…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M cmk/utils/store/__init__.py
Log Message:
-----------
Improve warnings created while reading in .mk files
Previously we produced exceptions or python warning messages without
references to the origin of this issue, similar to this:
```
<string>:52: SyntaxWarning: invalid escape sequence '\D'
```
With this change we get messages referencing to source of the message:
```
/omd/sites/beta/etc/check_mk/conf.d/wato/rules.mk:52: SyntaxWarning: invalid escape
sequence '\D'
{'id': '24da4ccd-0d1b-40e3-af87-0097df8668f2', 'value':
('service', '\Docker container status'), 'condition':
{'host_label_groups': [('and', [('and',
'cmk/docker_object:container')])]}, 'options': {'description':
'Make all docker container host states base on the "Docker container status"
service'}},
```
Change-Id: I021f33ae0efa261cb1702b7dd9ed126ff8975fa1
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications