]> granicus.if.org Git - icinga2/commitdiff
Ignore the .timestamp file when determining whether the zone config has changed
authorGunnar Beutner <gunnar@beutner.name>
Tue, 26 Jan 2016 10:32:54 +0000 (11:32 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 26 Jan 2016 10:32:54 +0000 (11:32 +0100)
refs #11014

lib/remote/apilistener-filesync.cpp

index dcb9af9b09ec616a3030ccc40facc62b2b4d50d9..32620ea2925c4e3acd678721dc085f0e49bf23ad 100644 (file)
@@ -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;