mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
tsdb: writePostingsToTmpFiles returns nil instead of err (#6618)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
398bd84d6f
commit
0cff72d756
|
@ -861,7 +861,7 @@ func (w *Writer) writePostingsToTmpFiles() error {
|
||||||
// Skip to next series.
|
// Skip to next series.
|
||||||
d.Skip(l - (startLen - d.Len()) + crc32.Size)
|
d.Skip(l - (startLen - d.Len()) + crc32.Size)
|
||||||
if err := d.Err(); err != nil {
|
if err := d.Err(); err != nil {
|
||||||
return nil
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue