diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-04 18:24:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 18:24:24 +0100 |
commit | d54a3213d304e40a2503df609c72f2e508daf6c3 (patch) | |
tree | 51e14f6747b8b0b38ab5a3325cbb838fd0d80b26 /src/conf_mode/containers.py | |
parent | 8bfece476c09e966ba5c8a3f95afe915e3654441 (diff) | |
parent | 52f4a8571ad29b6b3afd3a73af243811496e8157 (diff) | |
download | vyos-1x-d54a3213d304e40a2503df609c72f2e508daf6c3.tar.gz vyos-1x-d54a3213d304e40a2503df609c72f2e508daf6c3.zip |
Merge pull request #1065 from sever-sever/T3969
containers: T3969: Fix F-string format for network ConfigError
Diffstat (limited to 'src/conf_mode/containers.py')
-rwxr-xr-x | src/conf_mode/containers.py | 2 |
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: |