summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_webproxy.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-06-16 20:24:44 +0200
committerChristian Breunig <christian@breunig.cc>2026-06-16 20:24:44 +0200
commitfa853ed8f25b5b9bf396d6e819b2c6259e7f5f42 (patch)
tree9ee5a9c573512f393384d5adc9211457915a3bac /src/conf_mode/service_webproxy.py
parent4fb32bc179127691f40c8e93c55877aa76f10416 (diff)
downloadvyos-1x-fa853ed8f25b5b9bf396d6e819b2c6259e7f5f42.tar.gz
vyos-1x-fa853ed8f25b5b9bf396d6e819b2c6259e7f5f42.zip
T8923: normalize "can not" to "cannot"
Replace two-word "can not" / "Can not" with "cannot" across comments, ConfigError messages, CLI help text, and op-mode output. Standard SNMP MIB files under mibs/ are left unchanged.
Diffstat (limited to 'src/conf_mode/service_webproxy.py')
-rwxr-xr-xsrc/conf_mode/service_webproxy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/service_webproxy.py b/src/conf_mode/service_webproxy.py
index eb45f8fcb..a5a85eecc 100755
--- a/src/conf_mode/service_webproxy.py
+++ b/src/conf_mode/service_webproxy.py
@@ -154,7 +154,7 @@ def verify(proxy):
for address, config in proxy['listen_address'].items():
if ldap_auth and 'disable_transparent' not in config:
- raise ConfigError('Authentication can not be configured when ' \
+ raise ConfigError('Authentication cannot be configured when ' \
'proxy is in transparent mode')
if 'outgoing_address' in proxy:
@@ -176,11 +176,11 @@ def verify(proxy):
if 'password' in ldap_config and 'bind_dn' not in ldap_config:
raise ConfigError(
- 'LDAP password can not be set when base-dn is undefined!')
+ 'LDAP password cannot be set when base-dn is undefined!')
if 'bind_dn' in ldap_config and 'password' not in ldap_config:
raise ConfigError(
- 'LDAP bind DN can not be set without password!')
+ 'LDAP bind DN cannot be set without password!')
if 'base_dn' not in ldap_config:
raise ConfigError('LDAP base-dn must be set!')