Merge pull request #3485 from Icinga/fix/persistent-acks
Respect persistent when acknowledging over API
This commit is contained in:
commit
fc2374d7c8
|
@ -180,7 +180,8 @@ class IcingaApiCommandRenderer implements IcingaCommandRendererInterface
|
|||
'author' => $command->getAuthor(),
|
||||
'comment' => $command->getComment(),
|
||||
'sticky' => $command->getSticky(),
|
||||
'notify' => $command->getNotify()
|
||||
'notify' => $command->getNotify(),
|
||||
'persistent' => $command->getPersistent()
|
||||
);
|
||||
if ($command->getExpireTime() !== null) {
|
||||
$data['expiry'] = $command->getExpireTime();
|
||||
|
|
Loading…
Reference in New Issue