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:33 +00:00
parent bd79fe1bf1
commit 7810669cc3
1 changed files with 1 additions and 1 deletions

View File

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