From: Gunnar Beutner Date: Mon, 13 Aug 2012 08:27:49 +0000 (+0200) Subject: State file: Store attributes of type Attribute_Local. X-Git-Tag: v0.0.1~149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e8a5587a9530a70e65027f25436a4a6a715b4fe;p=icinga2 State file: Store attributes of type Attribute_Local. --- diff --git a/base/dynamicobject.cpp b/base/dynamicobject.cpp index a2d94cfa1..f9be99193 100644 --- a/base/dynamicobject.cpp +++ b/base/dynamicobject.cpp @@ -373,7 +373,7 @@ void DynamicObject::DumpObjects(const String& filename) persistentObject->Set("type", object->GetType()); persistentObject->Set("name", object->GetName()); - int types = Attribute_Replicated; + int types = Attribute_Local | Attribute_Replicated; /* only persist properties for replicated objects or for objects * that are marked as persistent */