mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
git module: Don't pass rc as separate arg to fail_json
This commit is contained in:
parent
b3b12b5e41
commit
9253d89280
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def exit_json(rc=0, **kwargs):
|
|||
|
||||
def fail_json(**kwargs):
|
||||
kwargs['failed'] = True
|
||||
exit_json(rc=1, **kwargs)
|
||||
exit_json(**kwargs)
|
||||
|
||||
# ===========================================
|
||||
# convert arguments of form a=b c=d
|
||||
|
|
Loading…
Reference in a new issue