Moved NoPerfData from switch to bool

This is required to properly pass the argument from a CheckCommand to the result handler
This commit is contained in:
Lord Hepipud 2019-07-22 13:16:14 +02:00
parent 850e8b4d3f
commit 8ef18f97a9

View file

@ -4,7 +4,7 @@ function New-IcingaCheckresult()
{
param(
$Check,
[switch]$NoPerfData,
[bool]$NoPerfData,
[switch]$Compile
);