зеркало из https://github.com/github/vitess-gh.git
gofmt code
Signed-off-by: Andres Taylor <antaylor@squareup.com>
This commit is contained in:
Родитель
c9dcd5a65b
Коммит
2b52464112
|
@ -43,7 +43,6 @@ type OpenTracingFactory struct {
|
|||
// JAEGER_AGENT_HOST
|
||||
// JAEGER_AGENT_PORT
|
||||
func NewJagerTracerFromEnv(serviceName string) (opentracing.Tracer, io.Closer, error) {
|
||||
|
||||
cfg, err := config.FromEnv()
|
||||
if cfg.ServiceName == "" {
|
||||
cfg.ServiceName = serviceName
|
||||
|
|
|
@ -81,4 +81,3 @@ func (fakeTracer) Inject(sm opentracing.SpanContext, format interface{}, carrier
|
|||
func (fakeTracer) Extract(format interface{}, carrier interface{}) (opentracing.SpanContext, error) {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче