cli show config json: add {} clause for empty
This commit is contained in:
parent
caef594dbe
commit
a3bb271432
1 changed files with 2 additions and 0 deletions
|
|
@ -516,6 +516,8 @@ cli_show_common(clicon_handle h,
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (format == FORMAT_JSON)
|
||||
cligen_output(stdout, "{}\n");
|
||||
retval = 0;
|
||||
done:
|
||||
if (vec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue