mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Address PR comments
This commit is contained in:
parent
52eb0df1f8
commit
0b146c8b07
@ -34,7 +34,6 @@ import { CallCredentialsFilterFactory } from './call-credentials-filter';
|
||||
import { DeadlineFilterFactory } from './deadline-filter';
|
||||
import { CompressionFilterFactory } from './compression-filter';
|
||||
import { getDefaultAuthority, mapUriDefaultScheme } from './resolver';
|
||||
import { ServiceConfig, validateServiceConfig } from './service-config';
|
||||
import { trace, log } from './logging';
|
||||
import { SubchannelAddress } from './subchannel';
|
||||
import { MaxMessageSizeFilterFactory } from './max-message-size-filter';
|
||||
|
||||
@ -439,7 +439,7 @@ export class XdsClient {
|
||||
for (const resource of message.resources) {
|
||||
if (
|
||||
protoLoader.isAnyExtension(resource) &&
|
||||
resource['@type'] === LDS_TYPE_URL
|
||||
resource['@type'] === RDS_TYPE_URL
|
||||
) {
|
||||
const resp = resource as protoLoader.AnyExtension &
|
||||
RouteConfiguration__Output;
|
||||
@ -823,7 +823,7 @@ export class XdsClient {
|
||||
private updateRdsNames() {
|
||||
this.adsCall?.write({
|
||||
node: this.adsNode!,
|
||||
type_url: CDS_TYPE_URL,
|
||||
type_url: RDS_TYPE_URL,
|
||||
resource_names: this.routeConfigName ? [this.routeConfigName] : [],
|
||||
response_nonce: this.lastRdsNonce,
|
||||
version_info: this.lastRdsVersionInfo,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user