summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-03-25 18:31:25 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-03-25 18:31:25 +0000
commit98f923bd0f4dd66db5c89f38f9aa3c13ba23edcd (patch)
tree4f39d56d94d0858570b95348ab4fc19573e3b810 /python
parent7c0be25eea90cf9324e421b6c2dfda9bda2ecb7e (diff)
downloadvyos-1x-98f923bd0f4dd66db5c89f38f9aa3c13ba23edcd.tar.gz
vyos-1x-98f923bd0f4dd66db5c89f38f9aa3c13ba23edcd.zip
T6171: migrate <set service dhcp-server failover> to <set service dhcp-server high-availability>.
Diffstat (limited to 'python')
-rw-r--r--python/vyos/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py
index 456239568..bde8e3554 100644
--- a/python/vyos/template.py
+++ b/python/vyos/template.py
@@ -803,8 +803,8 @@ def kea_address_json(addresses):
return dumps(out)
-@register_filter('kea_failover_json')
-def kea_failover_json(config):
+@register_filter('kea_high_availability_json')
+def kea_high_availability_json(config):
from json import dumps
source_addr = config['source_address']