mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Send the correct 'force' attribute for 'check now' to the Icinga 2 API transport
refs icinga/icinga2#6140
This commit is contained in:
parent
faca1c0908
commit
6f9e046220
@ -132,7 +132,7 @@ class IcingaApiCommandRenderer implements IcingaCommandRendererInterface
|
||||
$endpoint = 'actions/reschedule-check';
|
||||
$data = array(
|
||||
'next_check' => $command->getCheckTime(),
|
||||
'force_check' => $command->getForced()
|
||||
'force' => $command->getForced()
|
||||
);
|
||||
$this->applyFilter($data, $command->getObject());
|
||||
return IcingaApiCommand::create($endpoint, $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user