Skip to content

Commit

Permalink
Merge pull request #31 from selectel/fix_prometheus_metrics_api_path
Browse files Browse the repository at this point in the history
Fix prometheus metrics tokens API path
  • Loading branch information
Gogen120 authored Feb 12, 2024
2 parents b8db2ad + 7d53b06 commit a02075e
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 a02075e

Please sign in to comment.