Skip to content

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Jan 24, 2025

part of #7195

@laurit laurit requested a review from a team as a code owner January 24, 2025 13:54
String uriString = uri.toString();
// http://localhost:61/ => unopened port, http://192.0.2.1/ => non routable address
if ("http://localhost:61/".equals(uriString) || "http://192.0.2.1/".equals(uriString)) {
return Collections.emptySet();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return Collections.emptySet();
return emptySet();

@laurit laurit enabled auto-merge (squash) January 27, 2025 07:25
@laurit laurit merged commit d83b66e into open-telemetry:main Jan 27, 2025
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants