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
47ac91608c
commit
a506b0ae6a
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ function New-IcingaCheckPackage()
|
||||||
}
|
}
|
||||||
|
|
||||||
$Check | Add-Member -membertype ScriptMethod -name 'InitCheck' -value {
|
$Check | Add-Member -membertype ScriptMethod -name 'InitCheck' -value {
|
||||||
|
param($check);
|
||||||
|
|
||||||
if ($null -eq $check) {
|
if ($null -eq $check) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue