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
7f509dc4f4
commit
bd79fe1bf1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue