1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Ignore the .timestamp file when determining whether the zone config has changed (second attempt)

refs 
This commit is contained in:
Gunnar Beutner 2016-01-26 15:42:54 +01:00
parent 627814b8e7
commit 4185c75d8a

@ -105,11 +105,9 @@ bool ApiListener::UpdateConfigDir(const ConfigDirInformation& oldConfigInfo, con
{
ObjectLock olock(newConfig);
BOOST_FOREACH(const Dictionary::Pair& kv, newConfig) {
if (Utility::Match("*/.timestamp", kv.first))
continue;
if (oldConfig->Get(kv.first) != kv.second) {
configChange = true;
if (!Utility::Match("*/.timestamp", kv.first))
configChange = true;
String path = configDir + "/" + kv.first;
Log(LogInformation, "ApiListener")