fix: default tracing backend.

This commit is contained in:
Ludovic Fernandez 2019-10-28 12:26:05 +01:00 committed by Traefiker Bot
parent 4990f6c22d
commit 8f000423ed

View file

@ -94,8 +94,9 @@ func setupTracing(conf *static.Tracing) tracing.Backend {
if backend == nil {
log.WithoutContext().Debug("Could not initialize tracing, use Jaeger by default")
backend := &jaeger.Config{}
backend.SetDefaults()
bcd := &jaeger.Config{}
bcd.SetDefaults()
backend = bcd
}
return backend