File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/aks-preview/azext_aks_preview Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 ]:
You can’t perform that action at this time.
0 commit comments