mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaConfig: add zone name lookup helper and cache
This commit is contained in:
parent
f57847cb32
commit
d381fddfff
@ -14,6 +14,8 @@ class IcingaConfig
|
|||||||
|
|
||||||
protected $checksum;
|
protected $checksum;
|
||||||
|
|
||||||
|
protected $zoneMap = array();
|
||||||
|
|
||||||
protected $lastActivityChecksum;
|
protected $lastActivityChecksum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -133,6 +135,11 @@ class IcingaConfig
|
|||||||
return $checksums;
|
return $checksums;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function getZoneName($id)
|
||||||
|
{
|
||||||
|
return $this->zoneMap[$id];
|
||||||
|
}
|
||||||
|
|
||||||
protected function store()
|
protected function store()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user