Skip to content

Commit 5696b08

Browse files
cjihrigmaryliag
andcommitted
chore(instrumentation-http): remove commented out code (open-telemetry#6062)
Co-authored-by: Marylia Gutierrez <maryliag@gmail.com>
1 parent d8c6b4a commit 5696b08

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

experimental/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For notes on migrating to 2.x / 0.200.x see [the upgrade guide](doc/upgrade-to-2
3333
### :house: Internal
3434

3535
* test(otlp-grpc-exporter-base): increase timeout in flaky test [#6042](https://github.com/open-telemetry/opentelemetry-js/pull/6042) @cjihrig
36-
* test(sdk-node): use process.env consistently in tests [#xxxx](https://github.com/open-telemetry/opentelemetry-js/pull/xxxx) @cjihrig
36+
* test(sdk-node): use process.env consistently in tests [#6052](https://github.com/open-telemetry/opentelemetry-js/pull/6052) @cjihrig
3737

3838
## 0.207.0
3939

experimental/packages/opentelemetry-instrumentation-http/src/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ export const getAbsoluteUrl = (
116116
}
117117
// Redact sensitive query parameters
118118
if (path.includes('?')) {
119-
//const [pathname, query] = path.split('?', 2);
120119
const parsedUrl = url.parse(path);
121120
const pathname = parsedUrl.pathname || '';
122121
const query = parsedUrl.query || '';

0 commit comments

Comments
 (0)