]> granicus.if.org Git - icinga2/commitdiff
State file: Store attributes of type Attribute_Local.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 13 Aug 2012 08:27:49 +0000 (10:27 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 13 Aug 2012 08:27:49 +0000 (10:27 +0200)
base/dynamicobject.cpp

index a2d94cfa10f9837953093d4dd6569ce1da9e0499..f9be9919333f84d37ac39a59de473e7766f8a5fe 100644 (file)
@@ -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 */