lib/storage: typo fix in error message: allowd->allowed

This commit is contained in:
Aliaksandr Valialkin 2020-11-25 14:15:42 +02:00
parent 26e699c440
commit 4848a05924

View File

@ -1334,7 +1334,7 @@ func (s *Storage) add(rows []rawRow, mrs []MetricRow, precisionBits uint8) ([]ra
if mr.Timestamp > maxTimestamp { if mr.Timestamp > maxTimestamp {
// Skip rows with too big timestamps significantly exceeding the current time. // Skip rows with too big timestamps significantly exceeding the current time.
if firstWarn == nil { 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", "propbably you need updating -retentionPeriod command-line flag",
mr.Timestamp, maxTimestamp) mr.Timestamp, maxTimestamp)
} }