Skip to content

grpclb: Add RFC 3986 URI support#12666

Open
jdcormie wants to merge 2 commits intogrpc:masterfrom
jdcormie:grpc-uri-secret
Open

grpclb: Add RFC 3986 URI support#12666
jdcormie wants to merge 2 commits intogrpc:masterfrom
jdcormie:grpc-uri-secret

Conversation

@jdcormie
Copy link
Member

No description provided.

This change is a no-op. The create() form is clearer than positional
arguments to a heavily overloaded constructor.
@jdcormie jdcormie requested a review from ejona86 February 24, 2026 00:15
if (SCHEME.equals(targetUri.getScheme())) {
List<String> pathSegments = targetUri.getPathSegments();
Preconditions.checkArgument(
!pathSegments.isEmpty(),
Copy link
Member

Choose a reason for hiding this comment

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

Let's tighten this up more and assert the size is 1, since we're only using the first and we don't want people to use more segments.

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.

2 participants