Update api/prometheus/v1/api_test.go

Co-Authored-By: Tobias Guggenmos <tguggenm@redhat.com>
Signed-off-by: gotjosh <josue@grafana.com>
This commit is contained in:
gotjosh 2020-02-27 17:04:26 +00:00
parent 7f509dc4f4
commit bd79fe1bf1
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ func TestAPIs(t *testing.T) {
}
}
doMetricsMetadata := func(metring string, limit string) func() (interface{}, Warnings, error) {
doMetricsMetadata := func(metric string, limit string) func() (interface{}, Warnings, error) {
return func() (interface{}, Warnings, error) {
v, err := promAPI.MetricsMetadata(context.Background(), metring, limit)
return v, nil, err