diff options
author | John Estabrook <jestabro@vyos.io> | 2020-08-30 12:33:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 12:33:00 -0500 |
commit | 9f3f7812eeec009e12133d3cd354d4a63e378ac8 (patch) | |
tree | f582fdaf8c0aa5ce769d63ab54518233fa2fb4bc /python/vyos/configdiff.py | |
parent | bab1534e0fc1e6da538414b8b032342eb2598f03 (diff) | |
parent | b40c52682a25664f7018ab8b4e5ba6f467f10d17 (diff) | |
download | vyos-1x-9f3f7812eeec009e12133d3cd354d4a63e378ac8.tar.gz vyos-1x-9f3f7812eeec009e12133d3cd354d4a63e378ac8.zip |
Merge pull request #536 from jestabro/T2636
config: T2636: get_config_dict() returns a list on multi node by default
Diffstat (limited to 'python/vyos/configdiff.py')
-rw-r--r-- | python/vyos/configdiff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/configdiff.py b/python/vyos/configdiff.py index b79893507..0e41fbe27 100644 --- a/python/vyos/configdiff.py +++ b/python/vyos/configdiff.py @@ -82,8 +82,8 @@ class ConfigDiff(object): """ def __init__(self, config, key_mangling=None): self._level = config.get_level() - self._session_config_dict = config.get_cached_dict() - self._effective_config_dict = config.get_cached_dict(effective=True) + self._session_config_dict = config.get_cached_root_dict(effective=False) + self._effective_config_dict = config.get_cached_root_dict(effective=True) self._key_mangling = key_mangling # mirrored from Config; allow path arguments relative to level |