mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
parent
5520e311f1
commit
5268db6a61
@ -253,7 +253,7 @@ constants
|
||||
'event_command' => 'event_command',
|
||||
'flapping_threshold' => 'flapping_threshold',
|
||||
'volatile' => 'volatile',
|
||||
'zone_id' => 'zone_id',
|
||||
'zone' => 'zone',
|
||||
'command_endpoint' => 'command_endpoint',
|
||||
'notes' => 'notes',
|
||||
'notes_url' => 'notes_url',
|
||||
|
@ -63,7 +63,7 @@ class ImportSourceCoreApi extends ImportSourceHook
|
||||
{
|
||||
if ($this->api === null) {
|
||||
$endpoint = $this->db()->getDeploymentEndpoint();
|
||||
$this->api = $endpoint->api();
|
||||
$this->api = $endpoint->api()->setDb($this->db());
|
||||
}
|
||||
|
||||
return $this->api;
|
||||
|
Loading…
x
Reference in New Issue
Block a user