Skip to content

Commit

Permalink
Azure VMs listing honours the client resource group now
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare authored and mshriver committed Feb 18, 2025
1 parent c9f7fc2 commit f3219da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrapanapi/systems/msazure.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ def find_vms(self, name=None, resource_group=None):
return vm_list

def list_vms(self, resource_group=None):
resource_group = resource_group or self.resource_group
return self.find_vms(resource_group=resource_group)

def get_vm(self, name):
Expand Down

0 comments on commit f3219da

Please sign in to comment.