Skip to content

Commit e369dd2

Browse files
committed
vmss update migration
1 parent e3a802d commit e369dd2

File tree

1 file changed

+5
-5
lines changed
  • src/azure-cli/azure/cli/command_modules/vm

1 file changed

+5
-5
lines changed

src/azure-cli/azure/cli/command_modules/vm/custom.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ def _output(self, *args, **kwargs):
16831683

16841684
if add_proxy_agent_extension is not None:
16851685
from .aaz.latest.vm import Update as _Update
1686-
1686+
16871687
class Update(_Update):
16881688
pass
16891689

@@ -1697,7 +1697,7 @@ class Update(_Update):
16971697
}
16981698
}
16991699
}
1700-
1700+
17011701
LongRunningOperation(cmd.cli_ctx)(Update(cli_ctx=cmd.cli_ctx)(command_args=args))
17021702
vm = get_vm_to_update(cmd, resource_group_name, vm_name)
17031703

@@ -4223,10 +4223,10 @@ def _output(self, *args, **kwargs):
42234223

42244224
if add_proxy_agent_extension is not None:
42254225
from .aaz.latest.vmss import Update as _VMSSUpdate
4226-
4226+
42274227
class VMSSUpdate(_VMSSUpdate):
42284228
pass
4229-
4229+
42304230
args = {
42314231
'resource_group': resource_group_name,
42324232
'vm_scale_set_name': name,
@@ -4239,7 +4239,7 @@ class VMSSUpdate(_VMSSUpdate):
42394239
}
42404240
}
42414241
}
4242-
4242+
42434243
LongRunningOperation(cmd.cli_ctx)(VMSSUpdate(cli_ctx=cmd.cli_ctx)(command_args=args))
42444244
vmss = get_vmss_modified(cmd, resource_group_name, name, instance_id, security_type)
42454245

0 commit comments

Comments
 (0)