diff --git a/tsdb/db.go b/tsdb/db.go index 0678a6ea9..00c1bceed 100644 --- a/tsdb/db.go +++ b/tsdb/db.go @@ -318,7 +318,7 @@ type DBStats struct { } // NewDBStats returns a new DBStats object initialized using the -// the new function from each component. +// new function from each component. func NewDBStats() *DBStats { return &DBStats{ Head: NewHeadStats(), diff --git a/tsdb/encoding/encoding.go b/tsdb/encoding/encoding.go index c2da86afa..1e17c2e37 100644 --- a/tsdb/encoding/encoding.go +++ b/tsdb/encoding/encoding.go @@ -79,7 +79,7 @@ func (e *Encbuf) PutUvarintStr(s string) { e.PutString(s) } -// PutUvarintBytes writes a a variable length byte buffer. +// PutUvarintBytes writes a variable length byte buffer. func (e *Encbuf) PutUvarintBytes(b []byte) { e.PutUvarint(len(b)) e.PutBytes(b)