mirror of https://github.com/grpc/grpc-java.git
interop-test: fix orca interop test client npe (#9989)
This commit is contained in:
parent
99cbdd5d69
commit
687340bbbe
|
@ -136,7 +136,9 @@ final class CustomBackendMetricsLoadBalancerProvider extends LoadBalancerProvide
|
|||
public void onLoadReport(MetricReport callMetricReport) {
|
||||
AtomicReference<TestOrcaReport> reportRef =
|
||||
args.getCallOptions().getOption(ORCA_RPC_REPORT_KEY);
|
||||
reportRef.set(fromCallMetricReport(callMetricReport));
|
||||
if (reportRef != null) {
|
||||
reportRef.set(fromCallMetricReport(callMetricReport));
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue