Skip to content

Commit

Permalink
Merge pull request #9362 from Icinga/bugfix/remove-redundant-serializ…
Browse files Browse the repository at this point in the history
…ation

Remove redundant call to Serialize() in ConfigItem::Commit()
  • Loading branch information
Al2Klimov authored Jun 15, 2022
2 parents ca394ef + 2dcdae4 commit 4522522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/configitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ ConfigObject::Ptr ConfigItem::Commit(bool discard)
Dictionary::Ptr persistentItem = new Dictionary({
{ "type", type->GetName() },
{ "name", GetName() },
{ "properties", Serialize(dobj, FAConfig) },
{ "properties", serializedObject },
{ "debug_hints", dhint },
{ "debug_info", new Array({
m_DebugInfo.Path,
Expand Down

0 comments on commit 4522522

Please sign in to comment.