ovs: fix _external_ids_to_string() to print strdict in logging

Fixes: a4b13d5069 ('core/ovs: log external-ids of Interfaces/Ports/Bridges')
(cherry picked from commit 17e16c8fa6)
This commit is contained in:
Thomas Haller 2023-01-11 16:16:38 +01:00 committed by Lubomir Rintel
parent 83327bfc58
commit fbc48c3612

View file

@ -1579,9 +1579,9 @@ _external_ids_to_string(const GArray *arr)
if (i > 0)
nm_str_buf_append_c(&strbuf, ',');
nm_str_buf_append_printf(&strbuf, " \"%s\" = \"%s\"]", n->name, n->value_str);
nm_str_buf_append_printf(&strbuf, " \"%s\" = \"%s\" ", n->name, n->value_str);
}
nm_str_buf_append(&strbuf, " ]");
nm_str_buf_append(&strbuf, "]");
return nm_str_buf_finalize(&strbuf, NULL);
}