From b4a60249f5c26da1d5d837de9122d7d87948507b Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 1 Jul 2020 12:46:06 -0500 Subject: config: T2667: adapt for refinements to get_config_dict --- src/conf_mode/interfaces-dummy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/interfaces-dummy.py') diff --git a/src/conf_mode/interfaces-dummy.py b/src/conf_mode/interfaces-dummy.py index a8093ffa5..1cf0dc546 100755 --- a/src/conf_mode/interfaces-dummy.py +++ b/src/conf_mode/interfaces-dummy.py @@ -40,7 +40,7 @@ def get_config(): ifname = os.environ['VYOS_TAGNODE_VALUE'] base = ['interfaces', 'dummy', ifname] - dummy = conf.get_config_dict(base, key_mangling=('-', '_')) + dummy = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True) # Check if interface has been removed if dummy == {}: dummy.update({'deleted' : ''}) -- cgit v1.2.3