forked from mirror/client_golang
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:
parent
bd79fe1bf1
commit
7810669cc3
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue