Skip to content

Commit b267894

Browse files
fix style
1 parent a4718d1 commit b267894

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/aks-preview/azext_aks_preview/custom.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,7 +1713,9 @@ def aks_agentpool_manual_scale_update(cmd, # pylint: disable=unused-argument
17131713

17141714
_current_vm_sizes = [x.strip() for x in current_vm_sizes.split(",")]
17151715
if len(_current_vm_sizes) != 1:
1716-
raise InvalidArgumentValueError(f"We only accept single sku size for manual profile. {current_vm_sizes} is invalid.")
1716+
raise InvalidArgumentValueError(
1717+
f"We only accept single sku size for manual profile. {current_vm_sizes} is invalid."
1718+
)
17171719
_vm_sizes = [x.strip() for x in vm_sizes.split(",")] if vm_sizes else []
17181720
if len(_vm_sizes) != 1:
17191721
raise InvalidArgumentValueError(f"We only accept single sku size for manual profile. {vm_sizes} is invalid.")
@@ -1753,7 +1755,9 @@ def aks_agentpool_manual_scale_delete(cmd, # pylint: disable=unused-argument
17531755
raise CLIError("Cannot delete manual in a non-virtualmachines node pool.")
17541756
_current_vm_sizes = [x.strip() for x in current_vm_sizes.split(",")]
17551757
if len(_current_vm_sizes) != 1:
1756-
raise InvalidArgumentValueError(f"We only accept single sku size for manual profile. {current_vm_sizes} is invalid.")
1758+
raise InvalidArgumentValueError(
1759+
f"We only accept single sku size for manual profile. {current_vm_sizes} is invalid."
1760+
)
17571761
manual_exists = False
17581762
for m in instance.virtual_machines_profile.scale.manual:
17591763
if m.size == _current_vm_sizes[0]:

0 commit comments

Comments
 (0)