From 52f4a8571ad29b6b3afd3a73af243811496e8157 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Thu, 4 Nov 2021 15:52:33 +0000 Subject: containers: T3969: Fix F-string format for network ConfigError --- src/conf_mode/containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/containers.py') 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: -- cgit v1.2.3