Skip to content

Commit 2ec8662

Browse files
yoshi-automationJustinBeckwith
authored andcommitted
fix: use process versions object for client header (#563)
1 parent ad05b6e commit 2ec8662

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/v2/config_service_v2_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ConfigServiceV2Client {
8282

8383
// Determine the client header string.
8484
const clientHeader = [
85-
`gl-node/${process.versions.node}`,
85+
`gl-node/${process.version}`,
8686
`grpc/${gaxGrpc.grpcVersion}`,
8787
`gax/${gax.version}`,
8888
`gapic/${VERSION}`,

src/v2/logging_service_v2_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class LoggingServiceV2Client {
8282

8383
// Determine the client header string.
8484
const clientHeader = [
85-
`gl-node/${process.versions.node}`,
85+
`gl-node/${process.version}`,
8686
`grpc/${gaxGrpc.grpcVersion}`,
8787
`gax/${gax.version}`,
8888
`gapic/${VERSION}`,

src/v2/metrics_service_v2_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class MetricsServiceV2Client {
8181

8282
// Determine the client header string.
8383
const clientHeader = [
84-
`gl-node/${process.versions.node}`,
84+
`gl-node/${process.version}`,
8585
`grpc/${gaxGrpc.grpcVersion}`,
8686
`gax/${gax.version}`,
8787
`gapic/${VERSION}`,

synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-08-02T11:19:20.863807Z",
2+
"updateTime": "2019-08-20T11:16:25.568311Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.32.0",
8-
"dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d"
7+
"version": "0.33.0",
8+
"dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "3a40d3a5f5e5a33fd49888a8a33ed021f65c0ccf",
16-
"internalRef": "261297518"
15+
"sha": "4bb50a3e4c8d49d1cec1a98434cccaeaec55a886",
16+
"internalRef": "264193378"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)