mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixed missing argument of check object for InitCheck
This commit is contained in:
parent
8f836fce18
commit
6616324589
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