check_dbi: implement ok summary

This commit is contained in:
Lorenz Kästle 2026-06-04 22:37:38 +02:00
parent 151266ef4e
commit 21c0eefc78

View file

@ -220,6 +220,8 @@ int main(int argc, char **argv) {
mp_check overall = mp_check_init();
mp_set_ok_summary(&overall, "DBI check was succesful");
mp_subcheck sc_connection_time = mp_subcheck_init();
sc_connection_time = mp_set_subcheck_default_state(sc_connection_time, STATE_OK);
xasprintf(&sc_connection_time.output, "Connection time: %f", conn_time);