mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: typo fix after 32d48f8dfbb03174858c00bdfe6d9d22431dc8d8
This commit is contained in:
parent
116811d761
commit
f9dc3da9e2
1 changed files with 2 additions and 2 deletions
|
@ -897,8 +897,8 @@ func (s *Storage) mustLoadHourMetricIDs(hour uint64, name string) *hourMetricIDs
|
|||
logger.Panicf("FATAL: cannot read %s: %s", path, err)
|
||||
}
|
||||
srcOrigLen := len(src)
|
||||
if len(src) < 24 {
|
||||
logger.Errorf("discarding %s, since it has broken header; got %d bytes; want %d bytes", path, len(src), 24)
|
||||
if len(src) < 16 {
|
||||
logger.Errorf("discarding %s, since it has broken header; got %d bytes; want %d bytes", path, len(src), 16)
|
||||
return hm
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue