mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -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
|
@ -183,7 +183,7 @@ class AnsibleCloudStackProject(AnsibleCloudStack):
|
|||
args['id'] = project['id']
|
||||
args['displaytext'] = self.get_or_fallback('display_text', 'name')
|
||||
|
||||
if self._has_changed(args, project):
|
||||
if self.has_changed(args, project):
|
||||
self.result['changed'] = True
|
||||
if not self.module.check_mode:
|
||||
project = self.cs.updateProject(**args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue