Skip to content

Commit 51865fa

Browse files
committed
Updated set_vm_by_aaz function
1 parent 52b0063 commit 51865fa

File tree

1 file changed

+1
-4
lines changed
  • src/azure-cli/azure/cli/command_modules/vm

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,12 +1746,9 @@ def set_vm_by_aaz(cmd, vm, no_wait=False):
17461746
parsed_id = _parse_rg_name(vm["id"])
17471747
vm["resource_group"] = parsed_id[0]
17481748
vm["vm_name"] = parsed_id[1]
1749+
vm["no_wait"] = no_wait
17491750

17501751
class SetVM(_VMCreate):
1751-
def pre_operations(self):
1752-
args = self.ctx.args
1753-
args.no_wait = no_wait
1754-
17551752
def _output(self, *args, **kwargs):
17561753
from azure.cli.core.aaz import AAZUndefined, has_value
17571754

0 commit comments

Comments
 (0)