diff --git a/pkg/chunkenc/memchunk.go b/pkg/chunkenc/memchunk.go index 5f997bdaf489d..1e6d29461bf46 100644 --- a/pkg/chunkenc/memchunk.go +++ b/pkg/chunkenc/memchunk.go @@ -634,7 +634,7 @@ func (si *bufferedIterator) moveNext() (int64, []byte, bool) { lineSize := int(l) if lineSize >= maxLineLength { - si.err = fmt.Errorf("line too long %d, maximun %d", lineSize, maxLineLength) + si.err = fmt.Errorf("line too long %d, maximum %d", lineSize, maxLineLength) return 0, nil, false } // If the buffer is not yet initialize or too small, we get a new one. diff --git a/pkg/logql/engine.go b/pkg/logql/engine.go index aa2945fb8df39..22afada719494 100644 --- a/pkg/logql/engine.go +++ b/pkg/logql/engine.go @@ -47,7 +47,7 @@ func (Streams) String() string { type EngineOpts struct { // Timeout for queries execution Timeout time.Duration `yaml:"timeout"` - // MaxLookBackPeriod is the maximun amount of time to look back for log lines. + // MaxLookBackPeriod is the maximum amount of time to look back for log lines. // only used for instant log queries. MaxLookBackPeriod time.Duration `yaml:"max_look_back_period"` } diff --git a/pkg/storage/store.go b/pkg/storage/store.go index c14ee623acba0..9ac5faa3689a4 100644 --- a/pkg/storage/store.go +++ b/pkg/storage/store.go @@ -26,7 +26,7 @@ type Config struct { // RegisterFlags adds the flags required to configure this flag set. func (cfg *Config) RegisterFlags(f *flag.FlagSet) { cfg.Config.RegisterFlags(f) - f.IntVar(&cfg.MaxChunkBatchSize, "max-chunk-batch-size", 50, "The maximun of chunks to fetch per batch.") + f.IntVar(&cfg.MaxChunkBatchSize, "max-chunk-batch-size", 50, "The maximum number of chunks to fetch per batch.") } // Store is the Loki chunk store to retrieve and save chunks.