]> granicus.if.org Git - icinga2/commitdiff
Make sure the .timestamp file is synced for config updates
authorGunnar Beutner <gunnar@beutner.name>
Tue, 26 Jan 2016 08:04:26 +0000 (09:04 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 26 Jan 2016 08:04:26 +0000 (09:04 +0100)
refs #11014

lib/remote/apilistener-filesync.cpp

index a5744237c1c3a9aad414cdf40552f3c2b751d1e2..7da0763b18c940938c0751e162783f8a1e12935b 100644 (file)
@@ -50,7 +50,7 @@ void ApiListener::ConfigGlobHandler(Dictionary::Ptr& config, const String& path,
 Dictionary::Ptr ApiListener::LoadConfigDir(const String& dir)
 {
        Dictionary::Ptr config = new Dictionary();
-       Utility::GlobRecursive(dir, "*.conf", boost::bind(&ApiListener::ConfigGlobHandler, boost::ref(config), dir, _1), GlobFile);
+       Utility::GlobRecursive(dir, "*", boost::bind(&ApiListener::ConfigGlobHandler, boost::ref(config), dir, _1), GlobFile);
        return config;
 }