summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-06-02 16:06:52 +0300
committerGitHub <noreply@github.com>2023-06-02 16:06:52 +0300
commitb8a3dc506b7bd83a0a0fcb7981571eeeb8eedf64 (patch)
tree57149092bdf8f04939ee50f7d094ed57eada0f8e /src
parent6dd683f3e7a966bf0124444b746ab4a223bbe104 (diff)
parent362ece3add2771bf412131a306fd0c0cfa04c16c (diff)
downloadvyos-1x-b8a3dc506b7bd83a0a0fcb7981571eeeb8eedf64.tar.gz
vyos-1x-b8a3dc506b7bd83a0a0fcb7981571eeeb8eedf64.zip
Merge pull request #2023 from jestabro/error-passing
configtree: T5251: catch/raise errors in functions delete and delete_value
Diffstat (limited to 'src')
-rwxr-xr-xsrc/migration-scripts/system/18-to-193
1 files changed, 0 insertions, 3 deletions
diff --git a/src/migration-scripts/system/18-to-19 b/src/migration-scripts/system/18-to-19
index fd0e15d42..38479d222 100755
--- a/src/migration-scripts/system/18-to-19
+++ b/src/migration-scripts/system/18-to-19
@@ -92,9 +92,6 @@ else:
for intf in dhcp_interfaces:
config.set(base + ['name-servers-dhcp'], value=intf, replace=False)
- # delete old node
- config.delete(base + ['disable-dhcp-nameservers'])
-
try:
with open(file_name, 'w') as f:
f.write(config.to_string())