mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-25 23:59:39 -04:00
remove defensive code
This commit is contained in:
1 file changed
+1
-3
@@ -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