Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Feb 22, 2024
1 parent 8a2e7d9 commit 4e7876e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interceptor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1410,8 +1410,8 @@ func TestUnaryInterceptorNotModifiedError(t *testing.T) {
client, _, _ := startServer(
[]connect.HandlerOption{
connect.WithInterceptors(connect.UnaryInterceptorFunc(func(unaryFunc connect.UnaryFunc) connect.UnaryFunc {
return func(_ context.Context, request connect.AnyRequest) (connect.AnyResponse, error) {
ctx, span := trace.NewTracerProvider().Tracer("test").Start(context.Background(), "test")
return func(ctx context.Context, request connect.AnyRequest) (connect.AnyResponse, error) {
ctx, span := trace.NewTracerProvider().Tracer("test").Start(ctx, "test")
defer span.End()
return unaryFunc(ctx, request)
}
Expand Down

0 comments on commit 4e7876e

Please sign in to comment.