mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2880 from murgatroid99/grpc-js-xds_preserve_type_state_1.12.x
grpc-js-xds: Preserve resource type version and nonce when unsubscribing (1.12.x)
This commit is contained in:
commit
c6c69df25b
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@grpc/grpc-js-xds",
|
||||
"version": "1.12.0",
|
||||
"version": "1.12.1",
|
||||
"description": "Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.",
|
||||
"main": "build/src/index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -457,9 +457,6 @@ class AdsCallState {
|
|||
if (authorityMap.size === 0) {
|
||||
typeState.subscribedResources.delete(name.authority);
|
||||
}
|
||||
if (typeState.subscribedResources.size === 0) {
|
||||
this.typeStates.delete(type);
|
||||
}
|
||||
this.updateNames(type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue