From: Gunnar Beutner Date: Tue, 26 Jan 2016 10:32:54 +0000 (+0100) Subject: Ignore the .timestamp file when determining whether the zone config has changed X-Git-Tag: v2.5.0~588 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5a003c162474753f0ea3746cc9df29341e8c056;p=icinga2 Ignore the .timestamp file when determining whether the zone config has changed refs #11014 --- diff --git a/lib/remote/apilistener-filesync.cpp b/lib/remote/apilistener-filesync.cpp index dcb9af9b0..32620ea29 100644 --- a/lib/remote/apilistener-filesync.cpp +++ b/lib/remote/apilistener-filesync.cpp @@ -105,6 +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;