remove defensive code
This commit is contained in:
@@ -74,9 +74,7 @@ func Server(opts ...Option) (http.Service, error) {
|
||||
)
|
||||
|
||||
{
|
||||
if options.Config.Tracing.Enabled {
|
||||
handle = svc.NewTracing(handle)
|
||||
}
|
||||
handle = svc.NewTracing(handle)
|
||||
handle = svc.NewInstrument(handle, options.Metrics)
|
||||
handle = svc.NewLogging(handle, options.Logger)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user