From 57bc2e94e2298292adc39a7468e6ba819e1e617c Mon Sep 17 00:00:00 2001 From: cuirunxing-hub Date: Fri, 2 Apr 2021 09:01:17 +0800 Subject: [PATCH] typos correct Signed-off-by: cuirunxing-hub --- cmd/promtool/rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/promtool/rules.go b/cmd/promtool/rules.go index e73b48241c..5f2e9a33fc 100644 --- a/cmd/promtool/rules.go +++ b/cmd/promtool/rules.go @@ -184,7 +184,7 @@ func newMultipleAppender(ctx context.Context, blockWriter *tsdb.BlockWriter) *mu } // multipleAppender keeps track of how many series have been added to the current appender. -// If the max samples have been added, then all series are commited and a new appender is created. +// If the max samples have been added, then all series are committed and a new appender is created. type multipleAppender struct { maxSamplesInMemory int currentSampleCount int