apt: Fix fail_json API call (#74444)

This commit is contained in:
Abhijeet Kasurde 2021-04-28 10:13:38 +05:30 committed by GitHub
parent c387b318a6
commit b043afa025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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__":