Skip to content

Commit

Permalink
Fixed tsOverrideAppender GetRef
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
  • Loading branch information
rabenhorst committed Jan 12, 2023
1 parent 05b267c commit e64273c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/receive/handler_test.go
Expand Up @@ -850,8 +850,8 @@ func (a *tsOverrideAppender) Append(ref storage.SeriesRef, l labels.Labels, _ in
return a.Appender.Append(ref, l, cnt, v)
}

func (a *tsOverrideAppender) GetRef(lset labels.Labels) (storage.SeriesRef, labels.Labels) {
return a.Appender.(storage.GetRef).GetRef(lset, lset.Hash())
func (a *tsOverrideAppender) GetRef(lset labels.Labels, hash uint64) (storage.SeriesRef, labels.Labels) {
return a.Appender.(storage.GetRef).GetRef(lset, hash)
}

// serializeSeriesWithOneSample returns marshaled and compressed remote write requests like it would
Expand Down

0 comments on commit e64273c

Please sign in to comment.