apt: Fix fail_json API call (#74444)
This commit is contained in:
parent
c387b318a6
commit
b043afa025
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@ def main():
|
|||
module.fail_json(msg="Could not fetch updated apt files: %s" % fetchFailedException)
|
||||
|
||||
# got here w/o exception and/or exit???
|
||||
module.exit_json({'failed': True, 'msg': 'Unexpected code path taken,we really should have exited before, this is a bug'})
|
||||
module.fail_json(msg='Unexpected code path taken, we really should have exited before, this is a bug')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in a new issue