mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-03 18:49:29 -05:00
Merge pull request #2222 from RincewindsHat/fix/summary_counts
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Spellcheck / codespell (push) Waiting to run
Tests / Running unit and integrationt tests (push) Waiting to run
Tests / Running rpm build test on almalinux:9 (push) Waiting to run
Tests / Running rpm build test on fedora:latest (push) Waiting to run
Tests / Running rpm build test on rockylinux:8 (push) Waiting to run
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Spellcheck / codespell (push) Waiting to run
Tests / Running unit and integrationt tests (push) Waiting to run
Tests / Running rpm build test on almalinux:9 (push) Waiting to run
Tests / Running rpm build test on fedora:latest (push) Waiting to run
Tests / Running rpm build test on rockylinux:8 (push) Waiting to run
Compute numbers in output summary correctly
This commit is contained in:
commit
6716001002
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ char *get_subcheck_summary(mp_check check) {
|
|||
unsigned int critical = 0;
|
||||
unsigned int unknown = 0;
|
||||
while (subchecks != NULL) {
|
||||
switch (subchecks->subcheck.state) {
|
||||
switch (mp_compute_subcheck_state(subchecks->subcheck)) {
|
||||
case STATE_OK:
|
||||
ok++;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue