We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b421084 commit ea066d9Copy full SHA for ea066d9
google-cloud-spanner/src/main/java/com/google/cloud/spanner/CompositeTracer.java
@@ -16,6 +16,8 @@
16
17
package com.google.cloud.spanner;
18
19
+import static com.google.api.gax.util.TimeConversionUtils.toJavaTimeDuration;
20
+
21
import com.google.api.core.InternalApi;
22
import com.google.api.gax.tracing.ApiTracer;
23
import com.google.api.gax.tracing.BaseApiTracer;
@@ -110,7 +112,7 @@ public void attemptCancelled() {
110
112
@Override
111
113
public void attemptFailed(Throwable error, org.threeten.bp.Duration delay) {
114
for (ApiTracer child : children) {
- child.attemptFailed(error, delay);
115
+ child.attemptFailedDuration(error, toJavaTimeDuration(delay));
116
}
117
118
0 commit comments