Skip to content

Commit 0565e18

Browse files
committed
fix test
1 parent a56ff25 commit 0565e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/component/common/loki/client/internal/marker_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func (m *mockMarkerFileHandler) MarkSegment(segment int) {
3131
func TestMarkerHandler(t *testing.T) {
3232
logger := log.NewLogfmtLogger(os.Stdout)
3333
// drive-by test: if metrics don't have the id curried, it panics when emitting them
34-
metrics := NewMarkerMetrics(nil).WithCurriedId("test")
34+
metrics := NewMarkerMetrics(nil).CurryWithId("test")
3535
t.Run("returns last marked segment from file handler on start", func(t *testing.T) {
3636
mockMFH := newMockMarkerFileHandler(10)
3737
mh := NewMarkerHandler(mockMFH, time.Minute, logger, metrics)

0 commit comments

Comments
 (0)