Merge pull request #1945 from murgatroid99/grpc-js-xds_resource_log_improvements

grpc-js-xds: Improve received resource list logging
This commit is contained in:
Michael Lumish 2021-10-20 09:03:08 -07:00 committed by GitHub
commit 4a5c1da93b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ export class CdsState implements XdsStreamState<Cluster__Output> {
watcher.onValidUpdate(message, isV2); watcher.onValidUpdate(message, isV2);
} }
} }
trace('Received CDS updates for cluster names ' + Array.from(allClusterNames)); trace('Received CDS updates for cluster names [' + Array.from(allClusterNames) + ']');
this.handleMissingNames(allClusterNames); this.handleMissingNames(allClusterNames);
this.edsState.handleMissingNames(allEdsServiceNames); this.edsState.handleMissingNames(allEdsServiceNames);
return null; return null;

View File

@ -162,7 +162,7 @@ export class EdsState implements XdsStreamState<ClusterLoadAssignment__Output> {
watcher.onValidUpdate(message, isV2); watcher.onValidUpdate(message, isV2);
} }
} }
trace('Received EDS updates for cluster names ' + Array.from(allClusterNames)); trace('Received EDS updates for cluster names [' + Array.from(allClusterNames) + ']');
return null; return null;
} }

View File

@ -175,7 +175,7 @@ export class LdsState implements XdsStreamState<Listener__Output> {
watcher.onValidUpdate(message, isV2); watcher.onValidUpdate(message, isV2);
} }
} }
trace('Received RDS response with route config names ' + Array.from(allTargetNames)); trace('Received LDS response with listener names [' + Array.from(allTargetNames) + ']');
this.handleMissingNames(allTargetNames); this.handleMissingNames(allTargetNames);
this.rdsState.handleMissingNames(allRouteConfigNames); this.rdsState.handleMissingNames(allRouteConfigNames);
return null; return null;

View File

@ -199,7 +199,7 @@ export class RdsState implements XdsStreamState<RouteConfiguration__Output> {
watcher.onValidUpdate(message, isV2); watcher.onValidUpdate(message, isV2);
} }
} }
trace('Received RDS response with route config names ' + Array.from(allRouteConfigNames)); trace('Received RDS response with route config names [' + Array.from(allRouteConfigNames) + ']');
return null; return null;
} }