diff --git a/bigtable/bigtable.go b/bigtable/bigtable.go index 01c6bb83b02..24a3e20fa8d 100644 --- a/bigtable/bigtable.go +++ b/bigtable/bigtable.go @@ -37,6 +37,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" + + // 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 prodAddr = "bigtable.googleapis.com:443" diff --git a/bigtable/bigtable_enablexds.go b/bigtable/bigtable_enablexds.go deleted file mode 100644 index 08a9d9b40dc..00000000000 --- a/bigtable/bigtable_enablexds.go +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2021 Google LLC -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//go:build enablexds -// +build enablexds - -package bigtable - -import ( - // Install google-c2p resolver, which is required for direct path. - _ "google.golang.org/grpc/xds/googledirectpath" -)