mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Merge pull request #258 from Icinga:fix/header_summary_considers_hidden_packages
Fix: Header summary should not include hidden packages/elements Fixes header summary to no longer count in hidden elements for status counts
This commit is contained in:
commit
8288cc4833
1 changed files with 4 additions and 0 deletions
|
|
@ -179,6 +179,10 @@ function New-IcingaCheckPackage()
|
||||||
|
|
||||||
$check.Compile();
|
$check.Compile();
|
||||||
|
|
||||||
|
if ($check.__IsHidden()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if ($WorstState -lt $check.__GetCheckState()) {
|
if ($WorstState -lt $check.__GetCheckState()) {
|
||||||
$WorstState = $check.__GetCheckState();
|
$WorstState = $check.__GetCheckState();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue