Skip to content

Commit ad719cc

Browse files
authored
Merge pull request #2391 from murgatroid99/grpc-js-xds_node_client_version
grpc-js-xds: Populate Node message field user_agent_version
2 parents 4fa8af3 + 481f704 commit ad719cc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/grpc-js-xds/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/grpc-js-xds",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.",
55
"main": "build/src/index.js",
66
"scripts": {

packages/grpc-js-xds/src/xds-client.ts

+2
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,13 @@ export class XdsClient {
342342
this.adsNode = {
343343
...bootstrapInfo.node,
344344
user_agent_name: userAgentName,
345+
user_agent_version: clientVersion,
345346
client_features: ['envoy.lb.does_not_support_overprovisioning'],
346347
};
347348
this.lrsNode = {
348349
...bootstrapInfo.node,
349350
user_agent_name: userAgentName,
351+
user_agent_version: clientVersion,
350352
client_features: ['envoy.lrs.supports_send_all_clusters'],
351353
};
352354
setCsdsClientNode(this.adsNode);

0 commit comments

Comments
 (0)