Removed no longer required debug output

This commit is contained in:
Lord Hepipud 2019-07-23 12:21:45 +02:00
parent 291fc617b6
commit 2f5f7ac1a1

View file

@ -55,7 +55,6 @@ function New-IcingaCheck()
if (-Not $negate -And (Test-Numeric $rangeMin) -And (Test-Numeric $rangeMax)) { if (-Not $negate -And (Test-Numeric $rangeMin) -And (Test-Numeric $rangeMax)) {
$this.WarnIfLowerThan($rangeMin).WarnIfGreaterThan($rangeMax) | Out-Null; $this.WarnIfLowerThan($rangeMin).WarnIfGreaterThan($rangeMax) | Out-Null;
} elseif ((Test-Numeric $rangeMin) -And [string]::IsNullOrEmpty($rangeMax) -eq $TRUE) { } elseif ((Test-Numeric $rangeMin) -And [string]::IsNullOrEmpty($rangeMax) -eq $TRUE) {
Write-Host 'lal'
$this.WarnIfLowerThan($rangeMin) | Out-Null; $this.WarnIfLowerThan($rangeMin) | Out-Null;
} elseif ($rangeMin -eq '~' -And (Test-Numeric $rangeMax)) { } elseif ($rangeMin -eq '~' -And (Test-Numeric $rangeMax)) {
$this.WarnIfGreaterThan($rangeMax) | Out-Null; $this.WarnIfGreaterThan($rangeMax) | Out-Null;