Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 60873a8bc2d8541bb2b9f79ea73e45de8de1dc66
https://github.com/Checkmk/checkmk/commit/60873a8bc2d8541bb2b9f79ea73e45de8…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-02-28 (Wed, 28 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