mirror of https://github.com/Icinga/icinga2.git
Ignore the .timestamp file when determining whether the zone config has changed
refs #11014
This commit is contained in:
parent
f3351bc80e
commit
c5a003c162
|
@ -105,6 +105,9 @@ bool ApiListener::UpdateConfigDir(const ConfigDirInformation& oldConfigInfo, con
|
||||||
{
|
{
|
||||||
ObjectLock olock(newConfig);
|
ObjectLock olock(newConfig);
|
||||||
BOOST_FOREACH(const Dictionary::Pair& kv, newConfig) {
|
BOOST_FOREACH(const Dictionary::Pair& kv, newConfig) {
|
||||||
|
if (Utility::Match("*/.timestamp", kv.first))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (oldConfig->Get(kv.first) != kv.second) {
|
if (oldConfig->Get(kv.first) != kv.second) {
|
||||||
configChange = true;
|
configChange = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue