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
ef6ee72108
commit
e4e1cd1de2
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ func (pts *packedTimeseries) Unpack(dst *Result, tr storage.TimeRange, fetchData
|
||||||
}
|
}
|
||||||
if firstErr == nil {
|
if firstErr == nil {
|
||||||
sbs = append(sbs, upw.sb)
|
sbs = append(sbs, upw.sb)
|
||||||
} else {
|
} else if upw.sb != nil {
|
||||||
putSortBlock(upw.sb)
|
putSortBlock(upw.sb)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue