diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-11-25 19:58:06 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-11-25 19:58:06 +0000 |
commit | 26af96f2d4c9212467a9ca98c0eddc50042ccbb3 (patch) | |
tree | 6495486ffe9d02d20777ee98b37198a52e80ffa7 | |
parent | 600ebc9cab1b95463d0a2453524fcf19fbbdfa07 (diff) | |
download | vyos-1x-26af96f2d4c9212467a9ca98c0eddc50042ccbb3.tar.gz vyos-1x-26af96f2d4c9212467a9ca98c0eddc50042ccbb3.zip |
containers: T3978: Fix correct variable name for network
-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 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 |