From b65236530c906ab75f2780f597741349d607533b Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 25 Nov 2020 14:15:42 +0200 Subject: [PATCH] lib/storage: typo fix in error message: allowd->allowed --- lib/storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage/storage.go b/lib/storage/storage.go index e474a0d20d..b61c5f27bb 100644 --- a/lib/storage/storage.go +++ b/lib/storage/storage.go @@ -1248,7 +1248,7 @@ func (s *Storage) add(rows []rawRow, mrs []MetricRow, precisionBits uint8) ([]ra if mr.Timestamp > maxTimestamp { // Skip rows with too big timestamps significantly exceeding the current time. if firstWarn == nil { - firstWarn = fmt.Errorf("cannot insert row with too big timestamp %d exceeding the current time; maximum allowd timestamp is %d; "+ + firstWarn = fmt.Errorf("cannot insert row with too big timestamp %d exceeding the current time; maximum allowed timestamp is %d; "+ "propbably you need updating -retentionPeriod command-line flag", mr.Timestamp, maxTimestamp) }