Skip to content

Commit 6dc32c4

Browse files
committed
Fix lint
1 parent 0c20eba commit 6dc32c4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/aks-preview/azext_aks_preview/custom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def __init__(self, location, resource_id):
553553
)
554554

555555
resources = get_resources_client(cmd.cli_ctx, cluster_subscription)
556-
for _ in range(3):
556+
for attempt in range(3):
557557
try:
558558
if enable_syslog:
559559
resources.begin_create_or_update_by_id(

src/aks-preview/azext_aks_preview/managed_cluster_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def _get_monitoring_addon_key_from_consts(addon_profiles, addon_consts):
180180
addon_consts.get("CONST_MONITORING_ADDON_NAME"),
181181
)
182182

183+
183184
# pylint: disable=too-few-public-methods
184185
class AKSPreviewManagedClusterModels(AKSManagedClusterModels):
185186
"""Store the models used in aks series of commands.
@@ -5582,7 +5583,6 @@ def _is_cnl_or_hlsm_changing(self) -> bool:
55825583
)
55835584

55845585

5585-
55865586
class AKSPreviewManagedClusterUpdateDecorator(AKSManagedClusterUpdateDecorator):
55875587
def __init__(
55885588
self, cmd: AzCliCommand, client: ContainerServiceClient, raw_parameters: Dict, resource_type: ResourceType

0 commit comments

Comments
 (0)