mirror of https://github.com/Icinga/icinga2.git
Add a note for config updates V1 and V2
Old clients sync !.conf via update_v2 message, we cannot remove this handling for the time being.
This commit is contained in:
parent
83c11962b2
commit
46cb806b3f
|
@ -32,6 +32,11 @@ void ApiListener::ConfigGlobHandler(ConfigDirInformation& config, const String&
|
||||||
|
|
||||||
Dictionary::Ptr update;
|
Dictionary::Ptr update;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 'update' messages contain conf files. 'update_v2' syncs everything else (.timestamp).
|
||||||
|
*
|
||||||
|
* **Keep this intact to stay compatible with older clients.**
|
||||||
|
*/
|
||||||
if (Utility::Match("*.conf", file))
|
if (Utility::Match("*.conf", file))
|
||||||
update = config.UpdateV1;
|
update = config.UpdateV1;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue