Skip to content

Commit

Permalink
Fix prometheus metrics tokens API path
Browse files Browse the repository at this point in the history
  • Loading branch information
Gogen120 committed Feb 12, 2024
1 parent b8db2ad commit 7d53b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus_metrics_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type PrometheusMetricToken struct {
Value string `json:"value"`
}

const PrometheusMetricsTokensURI = "prometheus-metrics-tokens"
const PrometheusMetricsTokensURI = "/prometheus-metrics-tokens"

// PrometheusMetricToken returns a token based on the ID.
func (api *API) PrometheusMetricToken(
Expand Down

0 comments on commit 7d53b06

Please sign in to comment.