From e7a1c83004cde746ab913600bf5cdca6c0115fee Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 26 Jan 2016 15:42:54 +0100 Subject: [PATCH] Ignore the .timestamp file when determining whether the zone config has changed (second attempt) refs #11014 --- lib/remote/apilistener-filesync.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/remote/apilistener-filesync.cpp b/lib/remote/apilistener-filesync.cpp index 4386a688a..4b0f7fc09 100644 --- a/lib/remote/apilistener-filesync.cpp +++ b/lib/remote/apilistener-filesync.cpp @@ -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")