Skip to content

Commit

Permalink
lint: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
refs committed Sep 1, 2021
1 parent 39afba6 commit bf139b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/revad/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ func initServers(mainConf map[string]interface{}, log *zerolog.Logger) map[strin
}

func initTracing(conf *coreConf) {
if conf.TracingEndpoint != "" {

}
rtrace.SetTraceProvider(conf.TracingCollector, conf.TracingEndpoint)
}

Expand Down
3 changes: 3 additions & 0 deletions pkg/trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func SetTraceProvider(collectorEndpoint string, agentEndpoint string) {
jaeger.WithAgentPort(agentPort),
),
)
if err != nil {
panic(err)
}
}

if collectorEndpoint != "" {
Expand Down

0 comments on commit bf139b6

Please sign in to comment.