Skip to content

Commit

Permalink
Minor changes/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
base1217 committed Feb 8, 2024
1 parent fc2bac6 commit 77f9456
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exporters/common/common_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
@app.route('/metrics', methods=['GET'])
def metrics():
chain = os.environ['CHAIN']

if len(q_metrics) == 0:
response = make_response("", 200)
response.mimetype = "text/plain"

return response

metrics = q_metrics[0].copy()

out = ""
Expand Down

0 comments on commit 77f9456

Please sign in to comment.