mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
app/vmselect: fix nil pointer dereference
panic when unsuccessfully querying vmstorage
This commit is contained in:
parent
490a42f592
commit
14dc426b45
@ -234,7 +234,7 @@ func (pts *packedTimeseries) Unpack(tbf *tmpBlocksFile, dst *Result, tr storage.
|
||||
}
|
||||
if firstErr == nil {
|
||||
sbs = append(sbs, upw.sb)
|
||||
} else {
|
||||
} else if upw.sb != nil {
|
||||
putSortBlock(upw.sb)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user