restconf bugs and increased restconf testing
This commit is contained in:
parent
496d676ad3
commit
8b6bb6ff50
5 changed files with 39 additions and 32 deletions
|
|
@ -171,6 +171,7 @@ api_data_get_gen(clicon_handle h,
|
|||
yspec = clicon_dbspec_yang(h);
|
||||
if ((path = cbuf_new()) == NULL)
|
||||
goto done;
|
||||
cprintf(path, "/");
|
||||
if (api_path2xpath_cvv(yspec, pcvec, pi, path) < 0){
|
||||
notfound(r);
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue