Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 548de11ff0653b5fce1c8000d5bb436e782dc497
https://github.com/Checkmk/checkmk/commit/548de11ff0653b5fce1c8000d5bb436e7…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
M cmk/base/api/agent_based/register/utils.py
M cmk/base/plugins/agent_based/ps_check.py
Log Message:
-----------
Allow modern types for section arguments of cluster check functions.
Now both typing.Mapping and collections.abc.Mapping are allowed, and an
optional value type can be expressed as typing.Option, a typing.Union
containing a None, or a '|' union containing a None.
Changed a random check plugin as a simple test.
Change-Id: I17ba3015f3267354d8b28b65c1761bba3aa792a5