grpc-js-xds: Log loaded bootstrap info in xDS client

This commit is contained in:
Michael Lumish 2021-09-20 11:20:41 -07:00
parent 32fc8243d4
commit de5eb821d1
1 changed files with 1 additions and 0 deletions

View File

@ -340,6 +340,7 @@ export class XdsClient {
if (this.hasShutdown) {
return;
}
trace('Loaded bootstrap info: ' + JSON.stringify(bootstrapInfo, undefined, 2));
if (bootstrapInfo.xdsServers[0].serverFeatures.indexOf('xds_v3') >= 0) {
this.apiVersion = XdsApiVersion.V3;
} else {