From 200133efbd5bc496ccc77350068354b86d2b4f8e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 20 Apr 2022 17:17:25 +0200 Subject: Revert "vyos.configdict(): T4369: leaf_node_changed() must return True when node is added" This reverts commit c685c0f762ea054c7a220bde625fdab549bbbdd2. --- python/vyos/configdict.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'python') 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): -- cgit v1.2.3