mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix invocations of module.fail_json with no msg=
Bonus: add missing % in cs_nic.py
This commit is contained in:
committed by
Brian Coca
parent
91860b2423
commit
ec9582fd83
@@ -238,7 +238,7 @@ def codex_list(module):
|
||||
rc, stdout, stderr = module.run_command(cmd_scribe)
|
||||
|
||||
if rc != 0:
|
||||
module.fail_json("unable to list grimoire collection, fix your Codex")
|
||||
module.fail_json(msg="unable to list grimoire collection, fix your Codex")
|
||||
|
||||
rex = re.compile("^\s*\[\d+\] : (?P<grim>[\w\-\+\.]+) : [\w\-\+\./]+(?: : (?P<ver>[\w\-\+\.]+))?\s*$")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user