Skip to content

Commit 8d8f0a7

Browse files
authored
1 parent c213153 commit 8d8f0a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transport/grpc/dial.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ func dial(ctx context.Context, insecure bool, o *internal.DialSettings) (*grpc.C
179179
if strings.EqualFold(os.Getenv(enableDirectPathXds), "true") {
180180
// google-c2p resolver target must not have a port number
181181
if addr, _, err := net.SplitHostPort(endpoint); err == nil {
182-
endpoint = "google-c2p-experimental:///" + addr
182+
endpoint = "google-c2p:///" + addr
183183
} else {
184-
endpoint = "google-c2p-experimental:///" + endpoint
184+
endpoint = "google-c2p:///" + endpoint
185185
}
186186
} else {
187187
if !strings.HasPrefix(endpoint, "dns:///") {

0 commit comments

Comments
 (0)