mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: typo fix
This commit is contained in:
parent
ad4cb9f3ca
commit
a2b81b71b9
1 changed files with 1 additions and 1 deletions
|
@ -1038,7 +1038,7 @@ func (s *Storage) add(rows []rawRow, mrs []MetricRow, precisionBits uint8) ([]ra
|
||||||
if err := s.tb.AddRows(rows); err != nil {
|
if err := s.tb.AddRows(rows); err != nil {
|
||||||
lastError = fmt.Errorf("cannot add rows to table: %s", err)
|
lastError = fmt.Errorf("cannot add rows to table: %s", err)
|
||||||
}
|
}
|
||||||
if err := s.updatePerDateData(rows, lastError); err != nil lastError == nil {
|
if err := s.updatePerDateData(rows, lastError); err != nil && lastError == nil {
|
||||||
lastError = fmt.Errorf("cannot update per-date data: %s", err)
|
lastError = fmt.Errorf("cannot update per-date data: %s", err)
|
||||||
}
|
}
|
||||||
if lastError != nil {
|
if lastError != nil {
|
||||||
|
|
Loading…
Reference in a new issue