File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1 Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 193193import java .nio .charset .Charset ;
194194import java .nio .charset .StandardCharsets ;
195195import java .time .Duration ;
196- import java .util .Collections ;
197196import java .util .Comparator ;
198197import java .util .HashMap ;
199198import java .util .List ;
@@ -369,10 +368,6 @@ public GapicSpannerRpc(final SpannerOptions options) {
369368 boolean isAttemptDirectPathXds = Boolean .parseBoolean (directPathXdsEnv );
370369 if (isAttemptDirectPathXds ) {
371370 defaultChannelProviderBuilder .setAttemptDirectPath (true );
372- // This will let the credentials try to fetch a hard-bound access token if the runtime
373- // environment supports it.
374- defaultChannelProviderBuilder .setAllowHardBoundTokenTypes (
375- Collections .singletonList (InstantiatingGrpcChannelProvider .HardBoundTokenTypes .ALTS ));
376371 defaultChannelProviderBuilder .setAttemptDirectPathXds ();
377372 }
378373 if (options .isUseVirtualThreads ()) {
You can’t perform that action at this time.
0 commit comments