summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-11-04 15:52:33 +0000
committerViacheslav <v.gletenko@vyos.io>2021-11-04 15:52:33 +0000
commit52f4a8571ad29b6b3afd3a73af243811496e8157 (patch)
tree51e14f6747b8b0b38ab5a3325cbb838fd0d80b26 /src/conf_mode
parent8bfece476c09e966ba5c8a3f95afe915e3654441 (diff)
downloadvyos-1x-52f4a8571ad29b6b3afd3a73af243811496e8157.tar.gz
vyos-1x-52f4a8571ad29b6b3afd3a73af243811496e8157.zip
containers: T3969: Fix F-string format for network ConfigError
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/containers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py
index cc34f9d39..4511eb7e9 100755
--- a/src/conf_mode/containers.py
+++ b/src/conf_mode/containers.py
@@ -102,7 +102,7 @@ def verify(container):
# Check if the specified container network exists
network_name = list(container_config['network'])[0]
if network_name not in container['network']:
- raise ConfigError('Container network "{network_name}" does not exist!')
+ raise ConfigError(f'Container network "{network_name}" does not exist!')
if 'address' in container_config['network'][network_name]:
if 'network' not in container_config: