diff options
author | Thomas Haller <thaller@redhat.com> | 2023-01-11 16:16:38 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2023-01-26 09:22:43 +0100 |
commit | fbc48c361203d45bc4f07b3f1ebdc036d3e48b52 (patch) | |
tree | ea8b186889a4688da873184a17c00dd55cc2f9c9 | |
parent | 83327bfc58dbae2ac632dd3a255b368d19c5a69b (diff) | |
download | NetworkManager-fbc48c361203d45bc4f07b3f1ebdc036d3e48b52.tar.gz |
ovs: fix _external_ids_to_string() to print strdict in logging
Fixes: a4b13d50694e ('core/ovs: log external-ids of Interfaces/Ports/Bridges')
(cherry picked from commit 17e16c8fa6b196712fa5b86183f143b489acd0e6)
-rw-r--r-- | src/core/devices/ovs/nm-ovsdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/devices/ovs/nm-ovsdb.c b/src/core/devices/ovs/nm-ovsdb.c index fbb2d78e57..0d6883968d 100644 --- a/src/core/devices/ovs/nm-ovsdb.c +++ b/src/core/devices/ovs/nm-ovsdb.c @@ -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); } |