mirror of https://github.com/grpc/grpc-node.git
grpc-js-xds: notify watchers when NACKing resource updates
This commit is contained in:
parent
bd1571fa94
commit
2455c3d50a
|
@ -665,6 +665,11 @@ export class XdsClient {
|
|||
break;
|
||||
}
|
||||
if (serviceKind) {
|
||||
this.adsState[serviceKind].reportStreamError({
|
||||
code: status.UNAVAILABLE,
|
||||
details: message,
|
||||
metadata: new Metadata()
|
||||
});
|
||||
resourceNames = this.adsState[serviceKind].getResourceNames();
|
||||
nonce = this.adsState[serviceKind].nonce;
|
||||
versionInfo = this.adsState[serviceKind].versionInfo;
|
||||
|
|
Loading…
Reference in New Issue