Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Jun 11, 2024
1 parent 5eb83a3 commit a446f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nodebuilder/fraud/lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (breaker *ServiceBreaker[S, H]) Stop(ctx context.Context) error {

if breaker.ctx.Err() != nil {
// short circuit if the service was already stopped
return nil //nolint:nilerr
return nil
}

breaker.sub.Cancel()
Expand Down
2 changes: 1 addition & 1 deletion share/eds/cache/noop.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var _ Accessor = (*NoopAccessor)(nil)
type NoopAccessor struct{}

func (n NoopAccessor) Blockstore() (dagstore.ReadBlockstore, error) {
return nil, nil
return nil, nil //nolint:nilnil
}

func (n NoopAccessor) Reader() io.Reader {
Expand Down

0 comments on commit a446f92

Please sign in to comment.