Skip to content

Commit 7cff1cc

Browse files
committed
fmt
1 parent 89bdd8a commit 7cff1cc

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

handler.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,7 @@ func (s *handler) createError(err error) *JSONRPCError {
312312
return out
313313
}
314314

315-
func (s *handler) handle(
316-
ctx context.Context,
317-
req request,
318-
w func(func(io.Writer)),
319-
rpcError rpcErrFunc,
320-
done func(keepCtx bool),
321-
chOut chanOut,
322-
) {
315+
func (s *handler) handle(ctx context.Context, req request, w func(func(io.Writer)), rpcError rpcErrFunc, done func(keepCtx bool), chOut chanOut) {
323316
// Not sure if we need to sanitize the incoming req.Method or not.
324317
ctx, span := s.getSpan(ctx, req)
325318
ctx, _ = tag.New(ctx, tag.Insert(metrics.RPCMethod, req.Method))

0 commit comments

Comments
 (0)