Skip to content

Commit 7800bf9

Browse files
committed
Fx lint
1 parent 7ac9ef8 commit 7800bf9

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

src/aks-preview/azext_aks_preview/agentpool_decorator.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,7 @@ def get_update_enable_disable_cluster_autoscaler_and_min_max_count_vmsize_vms(
10291029
vm_size,
10301030
)
10311031

1032+
10321033
class AKSPreviewAgentPoolAddDecorator(AKSAgentPoolAddDecorator):
10331034
def __init__(
10341035
self,
@@ -1302,15 +1303,15 @@ def set_up_virtual_machines_profile(self, agentpool: AgentPool) -> AgentPool:
13021303
)
13031304
else:
13041305
agentpool.virtual_machines_profile = self.models.VirtualMachinesProfile(
1305-
scale=self.models.ScaleProfile(
1306-
manual=[
1307-
self.models.ManualScaleProfile(
1308-
size=sizes[0],
1309-
count=node_count,
1310-
)
1311-
]
1306+
scale=self.models.ScaleProfile(
1307+
manual=[
1308+
self.models.ManualScaleProfile(
1309+
size=sizes[0],
1310+
count=node_count,
1311+
)
1312+
]
1313+
)
13121314
)
1313-
)
13141315

13151316
# properties that doesn't need to be set for virtual machines agentpool
13161317
# they are for vmss only
@@ -1737,7 +1738,7 @@ def update_agentpool_profile_preview(self, agentpools: List[AgentPool] = None) -
17371738

17381739
def update_auto_scaler_properties(self, agentpool: AgentPool) -> AgentPool:
17391740
"""Update auto scaler related properties for vmss Agentpool object.
1740-
1741+
17411742
This function is for vmss agentpool only.
17421743
17431744
:return: the Agentpool object

0 commit comments

Comments
 (0)