diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-24 13:13:44 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-24 16:40:11 +0000 |
commit | bfdc261db153ba2813b93ffe1564afd37d0a0d7c (patch) | |
tree | 5ae96e50f01d84d78a2bf5af4e9bc72f5051de82 /src | |
parent | cddd596a0e03a0ecbbe63bba4f64e9932d02d01f (diff) | |
download | vyos-1x-bfdc261db153ba2813b93ffe1564afd37d0a0d7c.tar.gz vyos-1x-bfdc261db153ba2813b93ffe1564afd37d0a0d7c.zip |
configdict: T5837: add support to return added nodes when calling node_changed()
In the past, node_changed() suggested it would also return nodes that got added
(function comment) but in reality only deleted keys got accounted for.
This commit changes the signature and adds an argument expand_nodes to specify
the users interest of a node was deleted (default), added (expand_nodes=Diff.ADD)
or even both (expand_nodes=Diff.ADD|Diff.DELETE).
(cherry picked from commit 4ee4064705ebd1e1a6a59be0c6df3b96755a067e)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions