Skip to content

Commit

Permalink
feat(spanner): install grpc rls and xds by default (#6007)
Browse files Browse the repository at this point in the history
Co-authored-by: rahul2393 <rahulyadavsep92@gmail.com>
  • Loading branch information
mohanli-ml and rahul2393 committed Aug 16, 2022
1 parent 51ef4dc commit 70d562f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
5 changes: 5 additions & 0 deletions spanner/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"

// Install google-c2p resolver, which is required for direct path.
_ "google.golang.org/grpc/xds/googledirectpath"
// Install RLS load balancer policy, which is needed for gRPC RLS.
_ "google.golang.org/grpc/balancer/rls"
)

const (
Expand Down
23 changes: 0 additions & 23 deletions spanner/client_enablexds.go

This file was deleted.

0 comments on commit 70d562f

Please sign in to comment.