mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 21:31:26 -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
|
@ -422,7 +422,7 @@ class AnsibleCloudStackNetwork(AnsibleCloudStack):
|
|||
args = self._get_args()
|
||||
args['id'] = network['id']
|
||||
|
||||
if self._has_changed(args, network):
|
||||
if self.has_changed(args, network):
|
||||
self.result['changed'] = True
|
||||
if not self.module.check_mode:
|
||||
network = self.cs.updateNetwork(**args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue