Merge pull request #9362 from Icinga/bugfix/remove-redundant-serialization

Remove redundant call to Serialize() in ConfigItem::Commit()
This commit is contained in:
Alexander Aleksandrovič Klimov 2022-06-15 09:34:38 +02:00 committed by GitHub
commit 4522522444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ ConfigObject::Ptr ConfigItem::Commit(bool discard)
Dictionary::Ptr persistentItem = new Dictionary({ Dictionary::Ptr persistentItem = new Dictionary({
{ "type", type->GetName() }, { "type", type->GetName() },
{ "name", GetName() }, { "name", GetName() },
{ "properties", Serialize(dobj, FAConfig) }, { "properties", serializedObject },
{ "debug_hints", dhint }, { "debug_hints", dhint },
{ "debug_info", new Array({ { "debug_info", new Array({
m_DebugInfo.Path, m_DebugInfo.Path,