Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 3f623dcabf9c700e2127704a362708846f2acbf2
https://github.com/Checkmk/checkmk/commit/3f623dcabf9c700e2127704a362708846…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-08-16 (Wed, 16 Aug 2023)
Changed paths:
A .werks/15771
M cmk/checkengine/discovery/_autodiscovery.py
M cmk/checkengine/discovery/_commandline.py
M cmk/checkengine/discovery/_host_labels.py
M cmk/checkengine/discovery/_preview.py
M cmk/checkengine/discovery/_utils.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
Log Message:
-----------
15771 FIX discovery: remove vanished labels on 'Accept all'
Vanished labels weren't beeing removed after clicking 'Accept all'
in the discovery page. There was no way to remove vanished labels
from the host using the UI.
Removed comment stated that vanished labels will be dropped silently if
they weren't returned in kept labels iterator, but that doesn't seem to
be the case. Vanished services can be discovered and are removed on
'Accept all'.
Change-Id: I220c36742cbdbb3ae957d3d0d5322da8aa5b544c