mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-05 20:36:13 +02:00
Fix return statement.
This commit is contained in:
parent
90eb0555df
commit
8e64e8dfca
@ -348,6 +348,7 @@ func (acc *deltaEncodedIndexAccessor) sampleValueAtIndex(idx int) model.SampleVa
|
||||
// No d8 for ints.
|
||||
default:
|
||||
acc.lastErr = fmt.Errorf("invalid number of bytes for integer delta: %d", acc.vBytes)
|
||||
return 0
|
||||
}
|
||||
} else {
|
||||
switch acc.vBytes {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user