Skip to content

Commit

Permalink
fix: use process versions object for client header (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 13, 2022
1 parent d283915 commit 8ccc2ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class LanguageServiceClient {

// Determine the client header string.
const clientHeader = [
`gl-node/${process.version}`,
`gl-node/${process.versions.node}`,
`grpc/${gaxGrpc.grpcVersion}`,
`gax/${gax.version}`,
`gapic/${VERSION}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class LanguageServiceClient {

// Determine the client header string.
const clientHeader = [
`gl-node/${process.version}`,
`gl-node/${process.versions.node}`,
`grpc/${gaxGrpc.grpcVersion}`,
`gax/${gax.version}`,
`gapic/${VERSION}`,
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-language/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-08-02T11:18:22.622909Z",
"updateTime": "2019-08-21T11:16:40.600200Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.32.0",
"dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d"
"version": "0.34.0",
"dockerImage": "googleapis/artman@sha256:38a27ba6245f96c3e86df7acb2ebcc33b4f186d9e475efe2d64303aec3d4e0ea"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3a40d3a5f5e5a33fd49888a8a33ed021f65c0ccf",
"internalRef": "261297518"
"sha": "11592a15391951348a64f5c303399733b1c5b3b2",
"internalRef": "264425502"
}
},
{
Expand Down

0 comments on commit 8ccc2ae

Please sign in to comment.