Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Jul 25, 2024
1 parent 1a99b7f commit 7ca4201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-runtime/ftl/leases.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (l LeaseHandle) Err() error {
l.state.mutex.Lock()
defer l.state.mutex.Unlock()
if err, ok := l.state.err.Get(); ok {
return err
return err //nolint:wrapcheck
}
return nil
}
Expand Down

0 comments on commit 7ca4201

Please sign in to comment.