Skip to content

Commit

Permalink
fix::Bool conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycody committed May 19, 2022
1 parent f170a98 commit 8b95eb0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ def __init__(
self.collector_endpoint = collector_endpoint or environ.get(
OTEL_EXPORTER_JAEGER_ENDPOINT, DEFAULT_GRPC_COLLECTOR_ENDPOINT
)
self.insecure = insecure or bool(
environ.get(OTEL_EXPORTER_JAEGER_GRPC_INSECURE, None)
)
self.insecure = insecure or environ.get(OTEL_EXPORTER_JAEGER_GRPC_INSECURE)
self._timeout = timeout or int(
environ.get(OTEL_EXPORTER_JAEGER_TIMEOUT, DEFAULT_EXPORT_TIMEOUT)
)
Expand Down

0 comments on commit 8b95eb0

Please sign in to comment.