identity restconf mapping for augment and identity tests

This commit is contained in:
Olof hagsand 2019-07-29 11:34:14 +02:00
parent dbfd92846c
commit 3b93c812d4
8 changed files with 118 additions and 17 deletions

View file

@ -96,6 +96,7 @@
and a "409 Conflict" status-line MUST be returned.
* @see RFC8040 Section 4.4
* @see api_data_put
*/
int
api_data_post(clicon_handle h,
@ -262,7 +263,7 @@ api_data_post(clicon_handle h,
if (!parse_xml && nullspec){
/* json2xml decode may not have been done above in json_parse,
need to be done here instead
UNLESS it is a root resource, then json-parse does right
UNLESS it is a root resource, then json-parse has already done it
*/
if ((ret = json2xml_decode(xdata, &xerr)) < 0)
goto done;