api: fix typo in comments
This commit is contained in:
parent
5d19d9de34
commit
8077e4bd69
|
@ -13,7 +13,7 @@
|
|||
|
||||
// +build go1.7
|
||||
|
||||
// Package api provides clients the HTTP API's.
|
||||
// Package api provides clients for the HTTP APIs.
|
||||
package api
|
||||
|
||||
import (
|
||||
|
|
|
@ -70,7 +70,7 @@ type Range struct {
|
|||
Step time.Duration
|
||||
}
|
||||
|
||||
// API provides bindings the Prometheus's v1 API.
|
||||
// API provides bindings for Prometheus's v1 API.
|
||||
type API interface {
|
||||
// Query performs a query for the given time.
|
||||
Query(ctx context.Context, query string, ts time.Time) (model.Value, error)
|
||||
|
|
Loading…
Reference in New Issue