mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-14 21:19:12 -07:00
cloudstack: use has_changed() from utils
This commit is contained in:
parent
aca98e2f8e
commit
43bee0b890
6 changed files with 8 additions and 8 deletions
|
@ -217,7 +217,7 @@ class AnsibleCloudStackStaticNat(AnsibleCloudStack):
|
|||
|
||||
# make an alias, so we can use _has_changed()
|
||||
ip_address['vmguestip'] = ip_address['vmipaddress']
|
||||
if self._has_changed(args, ip_address):
|
||||
if self.has_changed(args, ip_address):
|
||||
self.result['changed'] = True
|
||||
if not self.module.check_mode:
|
||||
res = self.cs.disableStaticNat(ipaddressid=ip_address['id'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue