mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 00:24:23 +02:00
Fix cookie with ActivateItems
This commit is contained in:
parent
c30edd0a34
commit
7c1f716dad
@ -212,9 +212,10 @@ bool ConfigObjectUtility::CreateObject(const Type::Ptr& type, const String& full
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Activate the config object.
|
* Activate the config object.
|
||||||
|
* uq, items, runtimeCreated, silent, withModAttrs, cookie
|
||||||
* IMPORTANT: Forward the cookie aka origin in order to prevent sync loops in the same zone!
|
* IMPORTANT: Forward the cookie aka origin in order to prevent sync loops in the same zone!
|
||||||
*/
|
*/
|
||||||
if (!ConfigItem::ActivateItems(upq, newItems, true, true, cookie)) {
|
if (!ConfigItem::ActivateItems(upq, newItems, true, true, false, cookie)) {
|
||||||
if (errors) {
|
if (errors) {
|
||||||
Log(LogNotice, "ConfigObjectUtility")
|
Log(LogNotice, "ConfigObjectUtility")
|
||||||
<< "Failed to activate config object '" << fullName << "'. Aborting and emoving config path '" << path << "'.";
|
<< "Failed to activate config object '" << fullName << "'. Aborting and emoving config path '" << path << "'.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user