Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Pass through options to grpc client creation. - #113

Merged
jmuk merged 5 commits into
googleapis:masterfrom
jmuk:grpc
Feb 22, 2017
Merged

jmuk merged 5 commits into
googleapis:masterfrom
jmuk:grpc

Conversation

@jmuk

@jmuk jmuk commented Feb 21, 2017

Copy link
Copy Markdown
Contributor

@jmuk
jmuk requested a review from landrito February 21, 2017 23:17
Comment thread lib/grpc.js Outdated
return new CreateStub(serviceAddress, credentials);
var grpcOptions = {};
Object.keys(options).forEach(function(key) {
if (key.indexOf('grpc.') == 0) {

This comment was marked as spam.

This comment was marked as spam.

Comment thread lib/grpc.js Outdated
@@ -148,7 +148,8 @@ GrpcClient.prototype.constructSettings = function constructSettings(
* @param {number} port - The port of the service.

This comment was marked as spam.

This comment was marked as spam.

@codecov-io

codecov-io commented Feb 22, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #113 into master will increase coverage by 1.19%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
+ Coverage   91.08%   92.27%   +1.19%     
==========================================
  Files          11       11              
  Lines        1279     1282       +3     
  Branches      257      257              
==========================================
+ Hits         1165     1183      +18     
+ Misses        114       99      -15
Impacted Files Coverage Δ
lib/grpc.js 78.57% <100%> (+29.51%) ✅

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b666370...86eccf8. Read the comment docs.

@jmuk

jmuk commented Feb 22, 2017

Copy link
Copy Markdown
Contributor Author

PTAL

@landrito landrito left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One nit.

Comment thread test/grpc.js Outdated
combineChannelCredentials: sinon.stub(),
createFromGoogleCredential: sinon.stub()
}};
var dummyAuth = {authData: 'dummy'};

This comment was marked as spam.

This comment was marked as spam.

@jmuk
jmuk merged commit 2dedafe into googleapis:master Feb 22, 2017
@jmuk
jmuk deleted the grpc branch March 15, 2017 00:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants