diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-20 17:17:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-20 17:17:25 +0200 |
commit | 200133efbd5bc496ccc77350068354b86d2b4f8e (patch) | |
tree | 1effed7d102a8227f037d71e2249cd2ce842c2ac /python | |
parent | 1fe3123a1b898d58d4216953bf2f4bb405d754c8 (diff) | |
download | vyos-1x-200133efbd5bc496ccc77350068354b86d2b4f8e.tar.gz vyos-1x-200133efbd5bc496ccc77350068354b86d2b4f8e.zip |
Revert "vyos.configdict(): T4369: leaf_node_changed() must return True when node is added"
This reverts commit c685c0f762ea054c7a220bde625fdab549bbbdd2.
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/configdict.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py index f96399071..4a7a3a886 100644 --- a/python/vyos/configdict.py +++ b/python/vyos/configdict.py @@ -129,9 +129,6 @@ def leaf_node_changed(conf, path): if old is None and isinstance(new, dict): # valueLess nodes return {} if node was added return True - if old is None and new is not None: - # node was added to the CLI, e.g. OpenVPN node "openvpn-options" - return True if old is None: return [] if isinstance(old, str): |