Fixed: [Restconf PATCH method request failed on item defined by submodule #306](https://github.com/clicon/clixon/issues/306)
This commit is contained in:
parent
97316e0bfa
commit
2291275fae
5 changed files with 14 additions and 9 deletions
|
|
@ -267,8 +267,10 @@ api_data_write(clicon_handle h,
|
|||
goto done;
|
||||
goto ok;
|
||||
}
|
||||
if (ybot)
|
||||
ymodapi = ys_module(ybot);
|
||||
if (ybot){
|
||||
if (ys_real_module(ybot, &ymodapi) < 0)
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
/* 4.4.1: The message-body MUST contain exactly one instance of the
|
||||
* expected data resource. (tested again below)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue