Skip to content

Commit a9df972

Browse files
committed
fix: avoid blank endpoints
1 parent 39faaec commit a9df972

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

internal/tracer/tracer.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ func SetupTracer(isDev bool, disableTelemetry bool) (io.Closer, opentracing.Trac
2929
if isDev {
3030
collectorEndpoint = "https://dev.slackb.com/traces/v1/jaeger"
3131
}
32-
if disableTelemetry {
33-
collectorEndpoint = ""
34-
}
35-
3632
// Recommended configuration for production.
3733
var jCfg = jaegercfg.Configuration{
3834
ServiceName: "slack-cli", // Don't change this. Required to distinguish logs & traces coming from the CLI

0 commit comments

Comments
 (0)