Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Frankee.zhou committed Jul 31, 2019
1 parent d5c7047 commit d1ccb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gengokit/httptransport/templates/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func MakeHTTPHandler(endpoints Endpoints, tracer stdopentracing.Tracer, logger l
addTracerOption := func(methodName string) []httptransport.ServerOption {
if tracer != nil {
return append(serverOptions, httptransport.ServerBefore(opentracing.GRPCToContext(tracer, methodName, logger)))
return append(serverOptions, httptransport.ServerBefore(opentracing.HTTPToContext(tracer, methodName, logger)))
}
return serverOptions
}
Expand Down

0 comments on commit d1ccb62

Please sign in to comment.