From 26af96f2d4c9212467a9ca98c0eddc50042ccbb3 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Thu, 25 Nov 2021 19:58:06 +0000 Subject: containers: T3978: Fix correct variable name for network --- src/conf_mode/containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py index ab992e415..2e14e0b25 100755 --- a/src/conf_mode/containers.py +++ b/src/conf_mode/containers.py @@ -158,7 +158,7 @@ def verify(container): v6_prefix = 0 # If ipv4-prefix not defined for user-defined network if 'prefix' not in network_config: - raise ConfigError(f'prefix for network "{net}" must be defined!') + raise ConfigError(f'prefix for network "{network}" must be defined!') for prefix in network_config['prefix']: if is_ipv4(prefix): v4_prefix += 1 -- cgit v1.2.3