mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixes missing Name argument for Test-IcingaTimer
This commit is contained in:
parent
00be110554
commit
f3bebdbdbc
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ function Start-IcingaTimer()
|
||||||
[string]$Name = 'DefaultTimer'
|
[string]$Name = 'DefaultTimer'
|
||||||
);
|
);
|
||||||
|
|
||||||
if ((Test-IcingaTimer)) {
|
if ((Test-IcingaTimer -Name $Name)) {
|
||||||
Write-IcingaConsoleNotice 'The timer with the name "{0}" is already active' -Objects $Name;
|
Write-IcingaConsoleNotice 'The timer with the name "{0}" is already active' -Objects $Name;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue