Skip to content

Commit e9d3ddf

Browse files
committed
fix ci failures
1 parent 4b10d55 commit e9d3ddf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/dd-trace/src/opentelemetry/otlp/otlp_http_exporter_base.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const tracerMetrics = telemetryMetrics.manager.namespace('tracers')
1717
* @class OtlpHttpExporterBase
1818
*/
1919
class OtlpHttpExporterBase {
20-
2120
#transport = https
2221

2322
/**
@@ -128,7 +127,7 @@ class OtlpHttpExporterBase {
128127
this.options.hostname = parsedUrl.hostname
129128
this.options.port = parsedUrl.port
130129
this.options.path = parsedUrl.pathname + parsedUrl.search
131-
this.#transport = parsedUrl.protocol === 'http:' ? http : https
130+
this.#transport = parsedUrl.protocol === 'https:' ? https : http
132131
}
133132

134133
/**

0 commit comments

Comments
 (0)