grpc-js-xds: Improve received resource list logging

This commit is contained in:
Michael Lumish 2021-10-18 16:20:39 -07:00
parent 832afbe89e
commit 9d92bf164f
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);
}
}
trace('Received CDS updates for cluster names ' + Array.from(allClusterNames));
trace('Received CDS updates for cluster names [' + Array.from(allClusterNames) + ']');
this.handleMissingNames(allClusterNames);
this.edsState.handleMissingNames(allEdsServiceNames);
return null;

View File

@ -162,7 +162,7 @@ export class EdsState implements XdsStreamState<ClusterLoadAssignment__Output> {
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;
}

View File

@ -175,7 +175,7 @@ export class LdsState implements XdsStreamState<Listener__Output> {
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.rdsState.handleMissingNames(allRouteConfigNames);
return null;

View File

@ -199,7 +199,7 @@ export class RdsState implements XdsStreamState<RouteConfiguration__Output> {
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;
}