mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Fix invocations of module.fail_json with no msg=
Bonus: add missing % in cs_nic.py
This commit is contained in:
parent
91860b2423
commit
ec9582fd83
15 changed files with 25 additions and 25 deletions
|
@ -287,7 +287,7 @@ class ExoDnsRecord(ExoDns):
|
|||
self.multiple = self.module.params.get('multiple')
|
||||
self.record_type = self.module.params.get('record_type')
|
||||
if self.multiple and self.record_type != 'A':
|
||||
self.module.fail_json("Multiple is only usable with record_type A")
|
||||
self.module.fail_json(msg="Multiple is only usable with record_type A")
|
||||
|
||||
def _create_record(self, record):
|
||||
self.result['changed'] = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue