Skip to content

Commit

Permalink
Fix the ordering of x-goog-api-client info (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuk authored and stephenplusplus committed Mar 3, 2017
1 parent 36a146d commit d3403dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-vision/src/v1/image_annotator_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ function ImageAnnotatorClient(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
);
Expand Down

0 comments on commit d3403dd

Please sign in to comment.