mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fixed bug with invalid type in state files.
This commit is contained in:
parent
ea115a2c8c
commit
747e3e7de8
@ -341,7 +341,7 @@ void DynamicObject::DumpObjects(const String& filename)
|
||||
|
||||
Dictionary::Ptr persistentObject = boost::make_shared<Dictionary>();
|
||||
|
||||
persistentObject->Set("type", object->GetType());
|
||||
persistentObject->Set("type", object->GetType()->GetName());
|
||||
persistentObject->Set("name", object->GetName());
|
||||
|
||||
int types = Attribute_Local | Attribute_Replicated;
|
||||
|
Loading…
x
Reference in New Issue
Block a user