Skip to content

Commit

Permalink
Add missing handle defaults call
Browse files Browse the repository at this point in the history
  • Loading branch information
João Almeida committed Apr 10, 2019
1 parent 5019df2 commit b70b01e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ func RequestTracer(opts ...OptionFunc) gin.HandlerFunc {
opt(mwOptions)
}

mwOptions.handleDefaultOptions()

return func(c *gin.Context) {
tracer := opentracing.GlobalTracer()

Expand Down

0 comments on commit b70b01e

Please sign in to comment.