Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit ceaea99

Browse files
committed
fix
1 parent 819444e commit ceaea99

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/grpc/BigtableTransportChannelProvider.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import com.google.cloud.bigtable.data.v2.internal.csm.tracers.DirectPathCompatibleTracer;
2727
import com.google.cloud.bigtable.data.v2.internal.dp.ClassicDirectAccessChecker;
2828
import com.google.cloud.bigtable.data.v2.internal.dp.DirectAccessChecker;
29-
import com.google.cloud.bigtable.data.v2.stub.BigtableChannelSupplier;
3029
import com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStubSettings;
3130
import com.google.common.base.Preconditions;
3231
import io.grpc.ManagedChannel;
@@ -227,7 +226,7 @@ public TransportChannel getTransportChannel() throws IOException {
227226
.setChannelPoolSettings(ChannelPoolSettings.staticallySized(1))
228227
.build();
229228

230-
BigtableChannelSupplier channelFactory =
229+
Supplier<ManagedChannel> channelSupplier =
231230
() -> {
232231
try {
233232
GrpcTransportChannel channel =
@@ -243,7 +242,7 @@ public TransportChannel getTransportChannel() throws IOException {
243242

244243
BigtableChannelPool btChannelPool =
245244
BigtableChannelPool.create(
246-
btPoolSettings, channelFactory, channelPrimer, backgroundExecutor);
245+
btPoolSettings, channelSupplier, channelPrimer, backgroundExecutor);
247246

248247
if (channelPoolMetricsTracer != null) {
249248
channelPoolMetricsTracer.registerChannelInsightsProvider(btChannelPool);

0 commit comments

Comments
 (0)