mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
app/vmselect/netstorage: typo fix after 03dfccfbed
This commit is contained in:
parent
2a86e2fb98
commit
1587f83fa0
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ func (sb *sortBlock) reset() {
|
||||||
|
|
||||||
func (sb *sortBlock) unpackFrom(tmpBlock *storage.Block, tbf *tmpBlocksFile, addr tmpBlockAddr, tr storage.TimeRange, fetchData bool, at *auth.Token) error {
|
func (sb *sortBlock) unpackFrom(tmpBlock *storage.Block, tbf *tmpBlocksFile, addr tmpBlockAddr, tr storage.TimeRange, fetchData bool, at *auth.Token) error {
|
||||||
tmpBlock.Reset()
|
tmpBlock.Reset()
|
||||||
tbf.MustReadBlockAt(&sb.b, addr)
|
tbf.MustReadBlockAt(tmpBlock, addr)
|
||||||
if fetchData {
|
if fetchData {
|
||||||
if err := tmpBlock.UnmarshalData(); err != nil {
|
if err := tmpBlock.UnmarshalData(); err != nil {
|
||||||
return fmt.Errorf("cannot unmarshal block: %w", err)
|
return fmt.Errorf("cannot unmarshal block: %w", err)
|
||||||
|
|
Loading…
Reference in a new issue