Skip to content

Commit

Permalink
fix json output
Browse files Browse the repository at this point in the history
  • Loading branch information
mattops committed Sep 1, 2023
1 parent 0a33a55 commit 70c5afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion health_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def process_env(c_name, e_name, endpoint, endpoint_type):

try:
output = r.json()
stream_data.update({'json': str(output)})
stream_data.update({'json': str(json.dumps(output))})
#log.info(app_version)
except Exception as e:
log.error(f"{endpoint}: Unable to read json")
Expand Down

0 comments on commit 70c5afc

Please sign in to comment.