lib: fix apply_finish callback in northbound

When a node is top-level, we shouldn't stop the whole processing, we
should just skip this single node.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
Igor Ryzhov 2024-03-05 15:30:37 +02:00
parent a44918640f
commit 8287fbe453

View File

@ -1873,7 +1873,7 @@ static void nb_transaction_apply_finish(struct nb_transaction *transaction,
dnode = lyd_parent(dnode); dnode = lyd_parent(dnode);
if (!dnode) if (!dnode)
break; continue;
/* /*
* The dnode from 'delete' callbacks point to elements * The dnode from 'delete' callbacks point to elements