mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
cloudstack: use has_changed() from utils
This commit is contained in:
@@ -201,7 +201,7 @@ class AnsibleCloudStackDomain(AnsibleCloudStack):
|
||||
args['id'] = domain['id']
|
||||
args['networkdomain'] = self.module.params.get('network_domain')
|
||||
|
||||
if self._has_changed(args, domain):
|
||||
if self.has_changed(args, domain):
|
||||
self.result['changed'] = True
|
||||
if not self.module.check_mode:
|
||||
res = self.cs.updateDomain(**args)
|
||||
|
||||
Reference in New Issue
Block a user