Skip to content

Commit

Permalink
worker: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjan committed Feb 26, 2024
1 parent 59d7964 commit 8baca5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worker/mocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ var _ alerts.Alerter = (*alerterMock)(nil)

type alerterMock struct{}

func (*alerterMock) Alerts(_ context.Context, opts alerts.AlertsOpts) (resp alerts.AlertsResponse, err error) {
return alerts.AlertsResponse{}, nil
}
func (*alerterMock) RegisterAlert(context.Context, alerts.Alert) error { return nil }
func (*alerterMock) DismissAlerts(context.Context, ...types.Hash256) error { return nil }

Expand Down

0 comments on commit 8baca5b

Please sign in to comment.