mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 22:07:27 -08:00
Fix minor typos in comments
This commit is contained in:
parent
bbd69b04cc
commit
7206a8456f
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
var errInvalidSize = errors.New("invalid size")
|
||||
|
||||
// enbuf is a helper type to populate a byte slice with various types.
|
||||
// encbuf is a helper type to populate a byte slice with various types.
|
||||
type encbuf struct {
|
||||
b []byte
|
||||
c [binary.MaxVarintLen64]byte
|
||||
|
|
|
@ -117,7 +117,7 @@ func (q *querier) Close() error {
|
|||
return merr.Err()
|
||||
}
|
||||
|
||||
// NewBlockQuerier returns a queries against the readers.
|
||||
// NewBlockQuerier returns a querier against the reader.
|
||||
func NewBlockQuerier(b BlockReader, mint, maxt int64) (Querier, error) {
|
||||
indexr, err := b.Index()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue