diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-06-16 20:24:44 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-06-16 20:24:44 +0200 |
| commit | fa853ed8f25b5b9bf396d6e819b2c6259e7f5f42 (patch) | |
| tree | 9ee5a9c573512f393384d5adc9211457915a3bac /src/migration-scripts | |
| parent | 4fb32bc179127691f40c8e93c55877aa76f10416 (diff) | |
| download | vyos-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/migration-scripts')
| -rw-r--r-- | src/migration-scripts/https/4-to-5 | 2 | ||||
| -rw-r--r-- | src/migration-scripts/https/5-to-6 | 2 | ||||
| -rw-r--r-- | src/migration-scripts/interfaces/33-to-34 | 2 | ||||
| -rw-r--r-- | src/migration-scripts/l2tp/4-to-5 | 2 | ||||
| -rw-r--r-- | src/migration-scripts/pppoe-server/6-to-7 | 2 | ||||
| -rw-r--r-- | src/migration-scripts/pptp/2-to-3 | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/migration-scripts/https/4-to-5 b/src/migration-scripts/https/4-to-5 index a99e8d8a5..5db2e4d04 100644 --- a/src/migration-scripts/https/4-to-5 +++ b/src/migration-scripts/https/4-to-5 @@ -13,7 +13,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this library. If not, see <http://www.gnu.org/licenses/>. -# T5762: http: api: smoketests fail as they can not establish IPv6 connection +# T5762: http: api: smoketests fail as they cannot establish IPv6 connection # to uvicorn backend server, always make the UNIX domain socket the # default way of communication diff --git a/src/migration-scripts/https/5-to-6 b/src/migration-scripts/https/5-to-6 index f51b35972..8c41f4b61 100644 --- a/src/migration-scripts/https/5-to-6 +++ b/src/migration-scripts/https/5-to-6 @@ -41,7 +41,7 @@ def migrate(config: ConfigTree) -> None: # Set default certname based on domain-name cert_name = 'https-' + domain_names[0].split('.')[0] # Overwrite certname from previous certbot calls if available - # We can not use python code like os.scandir due to filesystem permissions. + # We cannot use python code like os.scandir due to filesystem permissions. # This must be run as root certbot_live = f'{vyos_certbot_dir}/live/' # we need the trailing / if os.path.exists(certbot_live): diff --git a/src/migration-scripts/interfaces/33-to-34 b/src/migration-scripts/interfaces/33-to-34 index ccda04d0c..cb804b9ef 100644 --- a/src/migration-scripts/interfaces/33-to-34 +++ b/src/migration-scripts/interfaces/33-to-34 @@ -33,7 +33,7 @@ def migrate(config: ConfigTree) -> None: config.delete(cc_path) # There can be only ONE wireless country-code per device, everything - # else makes no sense as a WIFI router can not operate in two + # else makes no sense as a WIFI router cannot operate in two # different countries if not installed: config.set(['system', 'wireless', 'country-code'], value=tmp) diff --git a/src/migration-scripts/l2tp/4-to-5 b/src/migration-scripts/l2tp/4-to-5 index c3cc8451e..00353a4ff 100644 --- a/src/migration-scripts/l2tp/4-to-5 +++ b/src/migration-scripts/l2tp/4-to-5 @@ -50,7 +50,7 @@ def migrate(config: ConfigTree) -> None: default_pool = range_pool_name else: Warning( - f'L2TP client-ip-pool range start-ip:{start_ip} and stop-ip:{stop_ip} can not be migrated.') + f'L2TP client-ip-pool range start-ip:{start_ip} and stop-ip:{stop_ip} cannot be migrated.') config.delete(pool_base + ['start']) config.delete(pool_base + ['stop']) diff --git a/src/migration-scripts/pppoe-server/6-to-7 b/src/migration-scripts/pppoe-server/6-to-7 index e764284da..d303c506f 100644 --- a/src/migration-scripts/pppoe-server/6-to-7 +++ b/src/migration-scripts/pppoe-server/6-to-7 @@ -55,7 +55,7 @@ def migrate(config: ConfigTree) -> None: default_pool = range_pool_name else: Warning( - f'PPPoE client-ip-pool range start-ip:{start_ip} and stop-ip:{stop_ip} can not be migrated.') + f'PPPoE client-ip-pool range start-ip:{start_ip} and stop-ip:{stop_ip} cannot be migrated.') config.delete(pool_base + ['start']) config.delete(pool_base + ['stop']) diff --git a/src/migration-scripts/pptp/2-to-3 b/src/migration-scripts/pptp/2-to-3 index 9f06aa1a7..dfecf51c8 100644 --- a/src/migration-scripts/pptp/2-to-3 +++ b/src/migration-scripts/pptp/2-to-3 @@ -47,7 +47,7 @@ def migrate(config: ConfigTree) -> None: config.set(base + ['default-pool'], value=range_pool_name) else: Warning( - f'PPTP client-ip-pool range start-ip:{start_ip} and stop-ip:{stop_ip} can not be migrated.') + f'PPTP client-ip-pool range start-ip:{start_ip} and stop-ip:{stop_ip} cannot be migrated.') config.delete(pool_base + ['start']) config.delete(pool_base + ['stop']) |
