mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixed missing argument of check object for InitCheck
This commit is contained in:
parent
8de71663a3
commit
73ce2aa8e5
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ function New-IcingaCheckPackage()
|
|||
}
|
||||
|
||||
$Check | Add-Member -membertype ScriptMethod -name 'InitCheck' -value {
|
||||
param($check);
|
||||
|
||||
if ($null -eq $check) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue