Skip to content

Commit 817b674

Browse files
committed
style
1 parent 6541989 commit 817b674

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/azure-cli/azure/cli/command_modules/storage/_breaking_change.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
' 2026/02/03 and will be removed on 2026/03/03.')
1212
register_other_breaking_change('storage account update',
1313
message='The --min-tls-version argument values TLS1_0 and TLS1_1 have been retired on'
14-
' 2026/02/03 and will be removed on 2026/03/03.')
14+
' 2026/02/03 and will be removed on 2026/03/03.')

src/azure-cli/azure/cli/command_modules/storage/operations/account.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def create_storage_account(cmd, resource_group_name, account_name, sku=None, loc
261261
params.encryption.require_infrastructure_encryption = require_infrastructure_encryption
262262

263263
if min_tls_version:
264-
if min_tls_version in ['TLS1_0','TLS1_1']:
264+
if min_tls_version in ['TLS1_0', 'TLS1_1']:
265265
logger.warning('TLS 1.0 and TLS 1.1 have been retired on 2026/02/03, will use TLS 1.2 instead.')
266266
min_tls_version = 'TLS1_2'
267267
params.minimum_tls_version = min_tls_version
@@ -685,7 +685,7 @@ def update_storage_account(cmd, instance, sku=None, tags=None, custom_domain=Non
685685
params.allow_blob_public_access = allow_blob_public_access
686686

687687
if min_tls_version:
688-
if min_tls_version in ['TLS1_0','TLS1_1']:
688+
if min_tls_version in ['TLS1_0', 'TLS1_1']:
689689
logger.warning('TLS 1.0 and TLS 1.1 have been retired on 2026/02/03, will use TLS 1.2 instead.')
690690
min_tls_version = 'TLS1_2'
691691
params.minimum_tls_version = min_tls_version

0 commit comments

Comments
 (0)