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

refs #11014
This commit is contained in:
Gunnar Beutner 2016-01-26 15:42:54 +01:00
parent 12b5e332e4
commit e7a1c83004
1 changed files with 2 additions and 4 deletions

View File

@ -105,10 +105,8 @@ 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) {
if (!Utility::Match("*/.timestamp", kv.first))
configChange = true;
String path = configDir + "/" + kv.first;