apt: Fix fail_json API call (#74444)

pull/74473/head
Abhijeet Kasurde 3 years ago committed by GitHub
parent c387b318a6
commit b043afa025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save