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

Commit 88b9c72

Browse files
committed
fix
1 parent 37bf5ee commit 88b9c72

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/ChannelPoolMetricsTracer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ public void registerLoadBalancingStrategy(String lbPolicy) {
8383

8484
/** Starts the periodic collection. */
8585
public ScheduledFuture<?> start(ScheduledExecutorService scheduler) {
86-
return scheduler.scheduleAtFixedRate(this, SAMPLING_PERIOD_SECONDS, SAMPLING_PERIOD_SECONDS, TimeUnit.SECONDS);
86+
return scheduler.scheduleAtFixedRate(
87+
this, SAMPLING_PERIOD_SECONDS, SAMPLING_PERIOD_SECONDS, TimeUnit.SECONDS);
8788
}
8889

8990
@Override

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
import java.util.Map;
3131
import java.util.concurrent.Executor;
3232
import java.util.concurrent.ScheduledExecutorService;
33-
import java.util.logging.Level;
34-
import java.util.logging.Logger;
3533
import javax.annotation.Nullable;
3634

3735
/**
@@ -168,7 +166,7 @@ public TransportChannel getTransportChannel() throws IOException {
168166
if (channelPoolMetricsTracer != null) {
169167
channelPoolMetricsTracer.registerChannelInsightsProvider(btChannelPool::getChannelInfos);
170168
channelPoolMetricsTracer.registerLoadBalancingStrategy(
171-
btPoolSettings.getLoadBalancingStrategy().name());
169+
btPoolSettings.getLoadBalancingStrategy().name());
172170
}
173171

174172
return GrpcTransportChannel.create(btChannelPool);

0 commit comments

Comments
 (0)