]> 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, 23 Feb 2016 08:31:51 +0000 (09:31 +0100)
refs #11014

lib/remote/apilistener-filesync.cpp

index 0b6d1dd169966d4d25a282e7481fc5d707d4edf4..c8aef7bd253fe088445f52ed31e96b4a12085d63 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;
 }