Skip to content

Commit

Permalink
nat: T1877: Fix typo in nat ConfigError
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthurdev committed Sep 4, 2023
1 parent 02d1cf3 commit 2c88d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf_mode/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def verify_rule(config, err_msg, groups_dict):
group_obj = dict_search_args(groups_dict, group, group_name)

if group_obj is None:
raise ConfigError(f'Invalid {error_group} "{group_name}" on firewall rule')
raise ConfigError(f'Invalid {error_group} "{group_name}" on nat rule')

if not group_obj:
Warning(f'{error_group} "{group_name}" has no members!')
Expand Down

0 comments on commit 2c88d01

Please sign in to comment.