mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-05 12:42:19 -07:00
Merge pull request #704 from lorin/gitfix
git module: Don't pass rc as separate arg to fail_json
This commit is contained in:
commit
d55012e570
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def exit_json(rc=0, **kwargs):
|
||||||
|
|
||||||
def fail_json(**kwargs):
|
def fail_json(**kwargs):
|
||||||
kwargs['failed'] = True
|
kwargs['failed'] = True
|
||||||
exit_json(rc=1, **kwargs)
|
exit_json(**kwargs)
|
||||||
|
|
||||||
# ===========================================
|
# ===========================================
|
||||||
# convert arguments of form a=b c=d
|
# convert arguments of form a=b c=d
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue