mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
cloudstack: use has_changed() from utils
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user