Skip to content

Commit e964e14

Browse files
rocksporeron-gal
authored andcommitted
fix(spanner): revert the ALTS bound token enablement (googleapis#11799)
This is to revert googleapis#11674.
1 parent 19aa08a commit e964e14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spanner/client.go

-2
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,6 @@ func allClientOpts(numChannels int, compression string, userOpts ...option.Clien
626626
if enableDirectPathXds, _ := strconv.ParseBool(os.Getenv("GOOGLE_SPANNER_ENABLE_DIRECT_ACCESS")); enableDirectPathXds {
627627
clientDefaultOpts = append(clientDefaultOpts, internaloption.AllowNonDefaultServiceAccount(true))
628628
clientDefaultOpts = append(clientDefaultOpts, internaloption.EnableDirectPath(true), internaloption.EnableDirectPathXds())
629-
// This enables DirectPath to use hard bound tokens if possible.
630-
clientDefaultOpts = append(clientDefaultOpts, internaloption.AllowHardBoundTokens("ALTS"))
631629
}
632630
if compression == "gzip" {
633631
userOpts = append(userOpts, option.WithGRPCDialOption(grpc.WithDefaultCallOptions(

0 commit comments

Comments
 (0)