mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 20:06:12 +02:00
addressed feedback
Signed-off-by: bwplotka <bwplotka@gmail.com>
This commit is contained in:
parent
49c3aea56d
commit
8a2921e385
@ -289,7 +289,7 @@ func (f *fanoutAppender) Rollback() (err error) {
|
||||
f.logger.Error("Squashed rollback error on rollback", "err", rollbackErr)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
type fanoutAppenderV2 struct {
|
||||
@ -340,5 +340,5 @@ func (f *fanoutAppenderV2) Rollback() (err error) {
|
||||
f.logger.Error("Squashed rollback error on rollback", "err", rollbackErr)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
@ -382,6 +382,7 @@ type timestampTrackerV2 struct {
|
||||
baseTimestampTracker
|
||||
}
|
||||
|
||||
// Append implements storage.AppenderV2.
|
||||
func (t *timestampTrackerV2) Append(ref storage.SeriesRef, _ labels.Labels, _, ts int64, _ float64, h *histogram.Histogram, fh *histogram.FloatHistogram, opts storage.AOptions) (storage.SeriesRef, error) {
|
||||
switch {
|
||||
case fh != nil, h != nil:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user