summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-08-21 14:23:45 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-08-22 18:15:41 -0500
commit9f842e6dcf83095f463fe7b26c575bc85f62baca (patch)
treea415094ecc55a44b90ce071e14fa9f9d173d858b
parent9477a518bbc228046898274f865981c5d2b37967 (diff)
downloadvyos1x-config-9f842e6dcf83095f463fe7b26c575bc85f62baca.tar.gz
vyos1x-config-9f842e6dcf83095f463fe7b26c575bc85f62baca.zip
T5500: remove empty braces after valueless node
-rw-r--r--src/config_tree.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_tree.ml b/src/config_tree.ml
index a5698dc..b993836 100644
--- a/src/config_tree.ml
+++ b/src/config_tree.ml
@@ -161,7 +161,7 @@ struct
let render_values ?(ord_val=false) indent_str name values =
match values with
- | [] -> Printf.sprintf "%s%s { }\n" indent_str name
+ | [] -> Printf.sprintf "%s%s\n" indent_str name
| [v] -> Printf.sprintf "%s%s \"%s\"\n" indent_str name (Util.escape_string v)
| _ ->
let values =