mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-23 11:15:34 +00:00
![]() The involved piece of code is supposed to find a 'closest' match for two JSON structures using another JSON diff. However, it can happen that during that new diff the JSON structures are altered (elements from a list are deleted when 'found'). This is in general ok when the deleted element is part of the JSON structure which 'matches', but when it later turns out that some other element of the structure doesn't fit, then the whole structure should be recovered. This is now realized by using a deepcopy for the besaid new JSON diff such that the original is only altered (e.g. deleted) when the diff is clean. Signed-off-by: GalaxyGorilla <sascha@netdef.org> |
||
---|---|---|
.. | ||
bgpd | ||
helpers | ||
isisd | ||
lib | ||
ospf6d | ||
topotests | ||
.gitignore | ||
Makefile | ||
pytest.ini | ||
runtests.py | ||
subdir.am |