summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-22 07:22:14 +0200
committerGitHub <noreply@github.com>2020-04-22 07:22:14 +0200
commita3a4d23ff557216bd9b11b5653457f2b95251301 (patch)
treeae8cc0f8cae29a0c059d5c16097dd1d5dcdde75d /python
parentffc065158dc875d15d55df8b32a0a33b643e4202 (diff)
parenta0be6df0aa6fbbb988f264eb4981d00d60e19476 (diff)
downloadvyos-1x-a3a4d23ff557216bd9b11b5653457f2b95251301.tar.gz
vyos-1x-a3a4d23ff557216bd9b11b5653457f2b95251301.zip
Merge pull request #370 from thomas-mangin/T2331
vrrp: T2331: fix show vrrp
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/vrrp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/vrrp.py b/python/vyos/ifconfig/vrrp.py
index 29b10dd9e..a872725b2 100644
--- a/python/vyos/ifconfig/vrrp.py
+++ b/python/vyos/ifconfig/vrrp.py
@@ -109,7 +109,7 @@ class VRRP(object):
return []
disabled = []
- config = json.loads(util.readfile(cls.location['vyos']))
+ config = json.loads(util.read_file(cls.location['vyos']))
# add disabled groups to the list
for group in config['vrrp_groups']: