From 43e50cc238199d5ac780522a8879f8bbb3ca978e Mon Sep 17 00:00:00 2001 From: Jun Mukai Date: Thu, 2 Mar 2017 17:28:37 -0800 Subject: [PATCH] Fix the ordering of x-goog-api-client info (#2037) --- packages/google-cloud-node/src/v1beta1/speech_client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/google-cloud-node/src/v1beta1/speech_client.js b/packages/google-cloud-node/src/v1beta1/speech_client.js index e47df0ff4037..33d3ae6414d1 100644 --- a/packages/google-cloud-node/src/v1beta1/speech_client.js +++ b/packages/google-cloud-node/src/v1beta1/speech_client.js @@ -72,13 +72,13 @@ function SpeechClient(gaxGrpc, grpcClients, opts) { }, opts); var googleApiClient = [ - 'gl-node/' + process.versions.node, - CODE_GEN_NAME_VERSION + 'gl-node/' + process.versions.node ]; if (opts.libName && opts.libVersion) { googleApiClient.push(opts.libName + '/' + opts.libVersion); } googleApiClient.push( + CODE_GEN_NAME_VERSION, 'gax/' + gax.version, 'grpc/' + gaxGrpc.grpcVersion );