diff options
author | John Estabrook <jestabro@vyos.io> | 2023-08-21 14:23:45 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-08-22 18:15:41 -0500 |
commit | 9f842e6dcf83095f463fe7b26c575bc85f62baca (patch) | |
tree | a415094ecc55a44b90ce071e14fa9f9d173d858b | |
parent | 9477a518bbc228046898274f865981c5d2b37967 (diff) | |
download | vyos1x-config-9f842e6dcf83095f463fe7b26c575bc85f62baca.tar.gz vyos1x-config-9f842e6dcf83095f463fe7b26c575bc85f62baca.zip |
T5500: remove empty braces after valueless node
-rw-r--r-- | src/config_tree.ml | 2 |
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 = |