mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
grpc-js-xds: XdsClusterImpl: fix handling of non-complete pick result type
This commit is contained in:
parent
2121631243
commit
f957004b07
@ -173,7 +173,7 @@ class XdsClusterImplPicker implements Picker {
|
||||
return {
|
||||
pickResultType: originalPick.pickResultType,
|
||||
status: originalPick.status,
|
||||
subchannel: pickSubchannel?.getWrappedSubchannel() ?? null,
|
||||
subchannel: pickSubchannel?.getWrappedSubchannel?.() ?? null,
|
||||
onCallStarted: () => {
|
||||
originalPick.onCallStarted?.();
|
||||
pickSubchannel?.getStatsObject()?.addCallStarted();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user