Skip to content

Commit

Permalink
fix: use process versions object for client header (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Aug 26, 2019
1 parent ad05b6e commit 2ec8662
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/v2/config_service_v2_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class ConfigServiceV2Client {

// Determine the client header string.
const clientHeader = [
`gl-node/${process.versions.node}`,
`gl-node/${process.version}`,
`grpc/${gaxGrpc.grpcVersion}`,
`gax/${gax.version}`,
`gapic/${VERSION}`,
Expand Down
2 changes: 1 addition & 1 deletion src/v2/logging_service_v2_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class LoggingServiceV2Client {

// Determine the client header string.
const clientHeader = [
`gl-node/${process.versions.node}`,
`gl-node/${process.version}`,
`grpc/${gaxGrpc.grpcVersion}`,
`gax/${gax.version}`,
`gapic/${VERSION}`,
Expand Down
2 changes: 1 addition & 1 deletion src/v2/metrics_service_v2_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class MetricsServiceV2Client {

// Determine the client header string.
const clientHeader = [
`gl-node/${process.versions.node}`,
`gl-node/${process.version}`,
`grpc/${gaxGrpc.grpcVersion}`,
`gax/${gax.version}`,
`gapic/${VERSION}`,
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-08-02T11:19:20.863807Z",
"updateTime": "2019-08-20T11:16:25.568311Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.32.0",
"dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d"
"version": "0.33.0",
"dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3a40d3a5f5e5a33fd49888a8a33ed021f65c0ccf",
"internalRef": "261297518"
"sha": "4bb50a3e4c8d49d1cec1a98434cccaeaec55a886",
"internalRef": "264193378"
}
},
{
Expand Down

0 comments on commit 2ec8662

Please sign in to comment.