diff options
author | Connor Peet <connor@peet.io> | 2017-08-02 09:23:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 09:23:41 -0700 |
commit | 3f818ccf0009ebc5d4dd8718c51c28b76cdd8d31 (patch) | |
tree | f21a1afb2840b2b3460492b119ad0b8fdec9b689 /src/node | |
parent | fc22d7af9148d0e043377b11f32c83e098400a6f (diff) |
Node: document that root_certs in createSsl is optional
It appears that omitting it causes grpc to use the hosts' default cert data.
This was brought up (as I had implemented this method incorrectly) in:
https://github.com/mixer/etcd3/issues/28#issuecomment-319510441
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/src/credentials.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/src/credentials.js b/src/node/src/credentials.js index dfc1acaf40..d68d888e6a 100644 --- a/src/node/src/credentials.js +++ b/src/node/src/credentials.js @@ -82,7 +82,7 @@ var _ = require('lodash'); * @memberof grpc.credentials * @alias grpc.credentials.createSsl * @kind function - * @param {Buffer} root_certs The root certificate data + * @param {Buffer=} root_certs The root certificate data * @param {Buffer=} private_key The client certificate private key, if * applicable * @param {Buffer=} cert_chain The client certificate cert chain, if applicable |