Skip to content

Commit 08bea53

Browse files
committed
Fixes broken provider filter
1 parent 5c1f477 commit 08bea53

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/provider/assets/cpu/Get-IcingaProviderDataValuesCpu.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function Get-IcingaProviderDataValuesCpu()
33
param (
44
[array]$IncludeFilter = @(),
55
[array]$ExcludeFilter = @(),
6-
[hashtable]$ProviderFilter = @(),
6+
[hashtable]$ProviderFilter = @{ },
77
[switch]$IncludeDetails = $FALSE
88
);
99

lib/provider/core/Get-IcingaProviderFilterData.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function Get-IcingaProviderFilterData()
22
{
33
param (
44
[string]$ProviderName = '',
5-
[hashtable]$ProviderFilter = @()
5+
[hashtable]$ProviderFilter = @{ }
66
);
77

88
[hashtable]$FilterResult = @{ };

lib/provider/logging/Get-IcingaProviderDataValuesEventlog.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function Get-IcingaProviderDataValuesEventlog()
33
param (
44
[array]$IncludeFilter = @(),
55
[array]$ExcludeFilter = @(),
6-
[hashtable]$ProviderFilter = @(),
6+
[hashtable]$ProviderFilter = @{ },
77
[switch]$IncludeDetails = $FALSE
88
);
99

0 commit comments

Comments
 (0)