Skip to content

Commit edec98e

Browse files
author
reneeli@microsoft.com
committed
fix style
1 parent 142e104 commit edec98e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/aks-preview/azext_aks_preview/managed_cluster_decorator.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5345,15 +5345,17 @@ def update_imds_restriction(self, mc: ManagedCluster) -> ManagedCluster:
53455345
return mc
53465346

53475347
def update_vmas_to_vms(self, mc: ManagedCluster) -> ManagedCluster:
5348-
"""Update the agent pool profile type to be VMS and LB sku to standard
5348+
"""Update the agent pool profile type from VMAS to VMS and LB sku to standard
53495349
53505350
:return: the ManagedCluster object
53515351
"""
53525352
self._ensure_mc(mc)
53535353

53545354
if self.context.get_migrate_vmas_to_vms():
5355-
msg = " WARNING: This operation will be disruptive to your workload while underway. " \
5356-
"Do you wish to continue?"
5355+
msg = (
5356+
"\nWARNING: This operation will be disruptive to your workload while underway. "
5357+
"Do you wish to continue?"
5358+
)
53575359
if not self.context.get_yes() and not prompt_y_n(msg, default="n"):
53585360
raise DecoratorEarlyExitException()
53595361
# Ensure we have valid vmas AP

0 commit comments

Comments
 (0)