1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixed positional argument in azure_vm_virtualmachine (#52067)

Signed-off-by: Yadnyawalkya Tale <yadnyawalkyatale@gmail.com>
This commit is contained in:
Yadnyawalkya Tale 2019-02-12 16:17:59 +05:30 committed by Abhijeet Kasurde
parent 5c992fcc3f
commit 6d4307377f

View file

@ -1641,7 +1641,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
try:
self.storage_client.storage_accounts.delete(self.resource_group, name)
except Exception as exc:
self.fail("Error deleting storage account {0} - {2}".format(name, str(exc)))
self.fail("Error deleting storage account {0} - {1}".format(name, str(exc)))
return True
def delete_vm_storage(self, vhd_uris):