diff options
author | John Estabrook <jestabro@vyos.io> | 2022-11-29 16:21:54 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-11-29 16:22:56 -0600 |
commit | a0c97e33f59adf68fa77222199143a6ba7a5c794 (patch) | |
tree | 17882f8ad98c7401e2113923de31450872652566 /src/conf_mode/pki.py | |
parent | 40bd9294ddcdbba7e3b829ffe8f5178bba2776ae (diff) | |
download | vyos-1x-a0c97e33f59adf68fa77222199143a6ba7a5c794.tar.gz vyos-1x-a0c97e33f59adf68fa77222199143a6ba7a5c794.zip |
pki: T4847: fix typos
Diffstat (limited to 'src/conf_mode/pki.py')
-rwxr-xr-x | src/conf_mode/pki.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/conf_mode/pki.py b/src/conf_mode/pki.py index 29ed7b1b7..75807b86f 100755 --- a/src/conf_mode/pki.py +++ b/src/conf_mode/pki.py @@ -281,12 +281,13 @@ def apply(pki): for found_name, found_path in dict_search_recursive(search_dict, key): if found_name == item_name: - path_str = ' '.join(search['path'] + found_path) + path = search['path'] + path_str = ' '.join(path + found_path) print(f'pki: Updating config: {path_str} {found_name}') script = search['script'] - if found_path[0] == 'interfaces': - ifname = found_path[2] + if path[0] == 'interfaces': + ifname = found_path[0] call(f'VYOS_TAGNODE_VALUE={ifname} {script}') else: call(script) |