Fixed CLI show config JSON pretty-print, removed too many spaces
Test: added CLI show config tests for prett-print and cli_show_config()
This commit is contained in:
parent
c93f264215
commit
1830381249
2 changed files with 39 additions and 4 deletions
|
|
@ -1239,7 +1239,12 @@ xml2json_cbuf_vec(cbuf *cb,
|
|||
if (xml2json1_cbuf(cb,
|
||||
xp,
|
||||
NO_ARRAY,
|
||||
level+1, pretty,
|
||||
#if 1
|
||||
level,
|
||||
#else
|
||||
level+1,
|
||||
#endif
|
||||
pretty,
|
||||
1, NULL, NULL) < 0)
|
||||
goto done;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue