Skip to content

Commit

Permalink
remove link to github issue within comments.
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Gross <tgross@hashicorp.com>
  • Loading branch information
jrasell and tgross committed Mar 9, 2021
1 parent 4452b0d commit 3dbf0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/metrics_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (s *HTTPServer) MetricsRequest(resp http.ResponseWriter, req *http.Request)
if format := req.URL.Query().Get("format"); format == "prometheus" {

// Only return Prometheus formatted metrics if the user has enabled
// this functionality. GH-10070.
// this functionality.
if !s.agent.config.Telemetry.PrometheusMetrics {
return nil, CodedError(http.StatusUnsupportedMediaType, "Prometheus is not enabled")
}
Expand Down

0 comments on commit 3dbf0a5

Please sign in to comment.