Skip to content

Commit 36e110b

Browse files
committed
Remove unsued fake
1 parent 4030f5c commit 36e110b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/component/loki/source/file/file_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,6 @@ import (
2525
"github.com/grafana/alloy/internal/util"
2626
)
2727

28-
type fakeRec struct {
29-
c chan loki.Entry
30-
}
31-
32-
func (f *fakeRec) Chan() chan loki.Entry {
33-
return f.c
34-
}
35-
36-
var _ loki.LogsReceiver = (*fakeRec)(nil)
37-
3828
func Test(t *testing.T) {
3929
defer goleak.VerifyNone(t, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"))
4030

0 commit comments

Comments
 (0)