Fixes broken provider filter

This commit is contained in:
Lord Hepipud 2024-12-11 15:48:48 +01:00
parent 5c1f477926
commit 08bea53a76
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ function Get-IcingaProviderDataValuesCpu()
param ( param (
[array]$IncludeFilter = @(), [array]$IncludeFilter = @(),
[array]$ExcludeFilter = @(), [array]$ExcludeFilter = @(),
[hashtable]$ProviderFilter = @(), [hashtable]$ProviderFilter = @{ },
[switch]$IncludeDetails = $FALSE [switch]$IncludeDetails = $FALSE
); );

View file

@ -2,7 +2,7 @@ function Get-IcingaProviderFilterData()
{ {
param ( param (
[string]$ProviderName = '', [string]$ProviderName = '',
[hashtable]$ProviderFilter = @() [hashtable]$ProviderFilter = @{ }
); );
[hashtable]$FilterResult = @{ }; [hashtable]$FilterResult = @{ };

View file

@ -3,7 +3,7 @@ function Get-IcingaProviderDataValuesEventlog()
param ( param (
[array]$IncludeFilter = @(), [array]$IncludeFilter = @(),
[array]$ExcludeFilter = @(), [array]$ExcludeFilter = @(),
[hashtable]$ProviderFilter = @(), [hashtable]$ProviderFilter = @{ },
[switch]$IncludeDetails = $FALSE [switch]$IncludeDetails = $FALSE
); );