mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #1862 from murgatroid99/grpc-js-xds_notify_nack
grpc-js-xds: notify watchers when NACKing resource updates
This commit is contained in:
commit
c160feaeaa
@ -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…
x
Reference in New Issue
Block a user