summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_ospf.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-30 20:40:40 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-30 20:40:44 +0200
commitf0c38c2b6ddacfffe6d0b097952ac35fbe5a36fa (patch)
treef611e0cb87e9be7ac5f03d60ac302cd90a0ed804 /src/conf_mode/protocols_ospf.py
parent1c4f720697066bf6de955f6a7cb8ee58a379fc40 (diff)
downloadvyos-1x-f0c38c2b6ddacfffe6d0b097952ac35fbe5a36fa.tar.gz
vyos-1x-f0c38c2b6ddacfffe6d0b097952ac35fbe5a36fa.zip
T5150: harmonize verify() error message - encapsulate variable in "" quotes
Diffstat (limited to 'src/conf_mode/protocols_ospf.py')
-rwxr-xr-xsrc/conf_mode/protocols_ospf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_ospf.py b/src/conf_mode/protocols_ospf.py
index fbb876123..b73483470 100755
--- a/src/conf_mode/protocols_ospf.py
+++ b/src/conf_mode/protocols_ospf.py
@@ -196,7 +196,7 @@ def verify(ospf):
vrf = ospf['vrf']
tmp = get_interface_config(interface)
if 'master' not in tmp or tmp['master'] != vrf:
- raise ConfigError(f'Interface {interface} is not a member of VRF {vrf}!')
+ raise ConfigError(f'Interface "{interface}" is not a member of VRF "{vrf}"!')
# Segment routing checks
if dict_search('segment_routing.global_block', ospf):