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

Commit 7f83e59

Browse files
committed
fix
1 parent 7290306 commit 7f83e59

3 files changed

Lines changed: 2 additions & 24 deletions

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/dp/DirectAccessInvestigator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public String getValue() {
4747
}
4848
}
4949

50+
// This is only called when direct access check fails.
5051
public static void investigateAndReport(
5152
DirectPathCompatibleTracer tracer, Throwable originalError) {
5253
try {

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

Lines changed: 0 additions & 23 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public static BigtableClientContext create(
165165

166166
Optional<DirectPathCompatibleTracer> optionalTracer =
167167
settings.isDirectPathEnabledByDefault()
168-
? Optional.ofNullable(metrics.getDirectPathCompatibleTracer())
168+
? Optional.of(metrics.getDirectPathCompatibleTracer())
169169
: Optional.empty();
170170

171171
BigtableTransportChannelProvider btTransportProvider =

0 commit comments

Comments
 (0)