Commit 5dbce04
committed
schema: remove error after lyd_value_validate_dflt call
libyang returns the realtype field when the store callback return code
is LY_SUCCESS and LY_EINCOMPLETE.
Don't raise an error when lyd_value_validate_dflt returns
LY_EINCOMPLETE. The function can then use the val_type_cdata field.
Link: https://github.com/CESNET/libyang/blob/master/src/tree_data_common.c#L682
Signed-off-by: Jeremie Leska <[email protected]>1 parent 0a4b09f commit 5dbce04
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1545 | 1545 | | |
1546 | 1546 | | |
1547 | 1547 | | |
1548 | | - | |
| 1548 | + | |
1549 | 1549 | | |
1550 | 1550 | | |
1551 | 1551 | | |
| |||
0 commit comments