Fix copy-paste error in restreamer metrics endpoint

pull/200/head
Mike Lang 4 years ago committed by Mike Lang
parent fa1f305fda
commit efe185bc0c

@ -91,7 +91,7 @@ def metrics():
@request_stats @request_stats
def metrics_with_trailing(trailing): def metrics_with_trailing(trailing):
"""Expose Prometheus metrics.""" """Expose Prometheus metrics."""
return prometheus_client.generate_latest() return prom.generate_latest()
@app.route('/files') @app.route('/files')
@request_stats @request_stats

Loading…
Cancel
Save