[checkmk-commits] [tribe29/checkmk] b8a873: discovery: refactor