parent
cb2a45d286
commit
abad4fbf5e
1 changed files with 1 additions and 1 deletions
|
@ -1127,7 +1127,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
|
||||||
powerstate_change = 'generalized'
|
powerstate_change = 'generalized'
|
||||||
|
|
||||||
vm_dict['zones'] = [int(i) for i in vm_dict['zones']] if 'zones' in vm_dict and vm_dict['zones'] else None
|
vm_dict['zones'] = [int(i) for i in vm_dict['zones']] if 'zones' in vm_dict and vm_dict['zones'] else None
|
||||||
if self.zones != vm_dict['zones']:
|
if self.zones and self.zones != vm_dict['zones']:
|
||||||
self.log("CHANGED: virtual machine {0} zones".format(self.name))
|
self.log("CHANGED: virtual machine {0} zones".format(self.name))
|
||||||
differences.append('Zones')
|
differences.append('Zones')
|
||||||
changed = True
|
changed = True
|
||||||
|
|
Loading…
Reference in a new issue