mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Merge pull request #3377 from Icinga/bugfix/force-check-now-icinga2-api-transport
Send the correct 'force' attribute for 'check now' to the Icinga 2 API transport
This commit is contained in:
commit
c0e8b33b33
@ -132,7 +132,7 @@ class IcingaApiCommandRenderer implements IcingaCommandRendererInterface
|
|||||||
$endpoint = 'actions/reschedule-check';
|
$endpoint = 'actions/reschedule-check';
|
||||||
$data = array(
|
$data = array(
|
||||||
'next_check' => $command->getCheckTime(),
|
'next_check' => $command->getCheckTime(),
|
||||||
'force_check' => $command->getForced()
|
'force' => $command->getForced()
|
||||||
);
|
);
|
||||||
$this->applyFilter($data, $command->getObject());
|
$this->applyFilter($data, $command->getObject());
|
||||||
return IcingaApiCommand::create($endpoint, $data);
|
return IcingaApiCommand::create($endpoint, $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user