From 44e1913da4d227aaabb7b5ccfae65d879082a5e4 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Sat, 30 May 2026 12:30:39 +0200 Subject: Error summary (#2259) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lib: properly name function to set summary * lib: set first non-ok subcheck as the summary for the overall check * Fetch summarily recursively from failed subchecks --------- Co-authored-by: Lorenz Kästle --- lib/output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/output.h') diff --git a/lib/output.h b/lib/output.h index f5011268..6ca63cfe 100644 --- a/lib/output.h +++ b/lib/output.h @@ -87,7 +87,7 @@ int mp_add_subcheck_to_subcheck(mp_subcheck check[static 1], mp_subcheck); void mp_add_perfdata_to_subcheck(mp_subcheck check[static 1], mp_perfdata); -void mp_add_summary(mp_check check[static 1], char *summary); +void mp_set_summary(mp_check check[static 1], char *summary); mp_state_enum mp_compute_check_state(mp_check); mp_state_enum mp_compute_subcheck_state(mp_subcheck); -- cgit v1.2.3-74-g34f1