From f9c411604d9e17485c22f9713fd3e309aaef265c Mon Sep 17 00:00:00 2001 From: beorn7 Date: Tue, 22 Mar 2022 16:02:13 +0100 Subject: [PATCH] Fix spelling errors Signed-off-by: beorn7 --- model/histogram/histogram.go | 2 +- tsdb/chunkenc/chunk.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model/histogram/histogram.go b/model/histogram/histogram.go index 0a0d0800a..d2063d77f 100644 --- a/model/histogram/histogram.go +++ b/model/histogram/histogram.go @@ -33,7 +33,7 @@ import ( // Positive bucket indices → | | | ... -1 0 1 2 3 // Negative bucket indices → 3 2 1 0 -1 ... // -// Wich bucket indices are actually used is determined by the spans. +// Which bucket indices are actually used is determined by the spans. type Histogram struct { // Currently valid schema numbers are -4 <= n <= 8. They are all for // base-2 bucket schemas, where 1 is a bucket boundary in each case, and diff --git a/tsdb/chunkenc/chunk.go b/tsdb/chunkenc/chunk.go index b9c90904d..af5229985 100644 --- a/tsdb/chunkenc/chunk.go +++ b/tsdb/chunkenc/chunk.go @@ -128,7 +128,7 @@ const ( ValNone ValueType = iota // No value at the current position. ValFloat // A simple float, retrieved with At. ValHistogram // A histogram, retrieve with AtHistogram, but AtFloatHistogram works, too. - ValFloatHistogram // A floating-point histogram, retrive with AtFloatHistogram. + ValFloatHistogram // A floating-point histogram, retrieve with AtFloatHistogram. ) func (v ValueType) String() string {