lint: reenable revive unused-parameter check

Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
Matt Souza
2025-09-28 19:29:42 -04:00
parent 3747e3db3f
commit 090304a054
263 changed files with 723 additions and 724 deletions

View File

@@ -10,12 +10,12 @@ import (
type EventToNull struct{}
// Write eats the event and always returns nil
func (e EventToNull) Write(ee Event) error {
func (e EventToNull) Write(_ Event) error {
return nil
}
// Read does nothing and returns an error.
func (e EventToNull) Read(ctx context.Context, options ReadOptions) error {
func (e EventToNull) Read(_ context.Context, _ ReadOptions) error {
return errors.New("cannot read events with the \"none\" backend")
}