mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect: fix nil pointer dereference
panic when unsuccessfully querying vmstorage
This commit is contained in:
parent
490a42f592
commit
14dc426b45
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue