With-defaults tagged: move wd attribute from <data> to level under
show cli: remove empty container
This commit is contained in:
parent
743076b171
commit
51fca05642
2 changed files with 8 additions and 2 deletions
|
|
@ -477,6 +477,9 @@ cli_auto_show(clicon_handle h,
|
|||
strcmp(defaultstr, "report-all-tagged-strip")
|
||||
) < 0)
|
||||
goto done;
|
||||
/* Remove empty containers */
|
||||
if (xml_defaults_nopresence(xt, 2) < 0)
|
||||
goto done;
|
||||
}
|
||||
if (xpath_vec(xt, nsc, "%s", &vec, &veclen, xpath) < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue