Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn committed Dec 9, 2021
1 parent f1876e0 commit e09a986
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions opentelemetry-otlp/src/metric.rs
Expand Up @@ -277,9 +277,7 @@ impl MetricsExporter {
.connect_lazy();

#[cfg(not(feature = "tls"))]
let channel = endpoint
.timeout(config.timeout)
.connect_lazy();
let channel = endpoint.timeout(config.timeout).connect_lazy();

let client = MetricsServiceClient::new(channel);

Expand Down

0 comments on commit e09a986

Please sign in to comment.