lightstep / lightstep-tracer-go

The Lightstep distributed tracing library for Go
https://lightstep.com
MIT License
98 stars 53 forks source link

secure flag was being flipped upon creating tracer #140

Closed ejwood79 closed 6 years ago

ejwood79 commented 6 years ago

Was having trouble using sendspan with insecure grpc, and found that specifying -secure false caused the command to fail, because it was actually enabling TLS.

JulianGriggs commented 6 years ago

Hi @ejwood79 -secure is a boolean flag and thus requires -secure=false instead of -secure false. See https://golang.org/pkg/flag/#hdr-Command_line_flag_syntax for more information. Without using the first version, the value will default to true.

ejwood79 commented 6 years ago

👍