From 632bb13d6850ad18076057c35a06e5aae7b9969d Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Wed, 25 Sep 2019 19:17:42 +0200 Subject: [PATCH] Fixed argument type of DisableTimeCache for EventLog check --- lib/plugins/Invoke-IcingaCheckEventlog.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/Invoke-IcingaCheckEventlog.psm1 b/lib/plugins/Invoke-IcingaCheckEventlog.psm1 index 522c4db..a3e7037 100644 --- a/lib/plugins/Invoke-IcingaCheckEventlog.psm1 +++ b/lib/plugins/Invoke-IcingaCheckEventlog.psm1 @@ -16,7 +16,7 @@ function Invoke-IcingaCheckEventlog() [array]$ExcludeMessage, $After = $null, $Before = $null, - [bool]$DisableTimeCache, + [switch]$DisableTimeCache = $FALSE, [switch]$NoPerfData, $Verbose );