mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Fixing invalid usage of getProtobufServiceAttrs() function.
getProtobufServiceAttrs(service, options) must be called with 2 arguments.
This commit is contained in:
parent
0c82e79880
commit
849fcbadcd
@ -815,8 +815,7 @@ exports.waitForClientReady = function(client, deadline, callback) {
|
||||
* @return {function(string, Object)} New client constructor
|
||||
*/
|
||||
exports.makeProtobufClientConstructor = function(service, options) {
|
||||
var method_attrs = common.getProtobufServiceAttrs(service, service.name,
|
||||
options);
|
||||
var method_attrs = common.getProtobufServiceAttrs(service, options);
|
||||
var deprecatedArgumentOrder = false;
|
||||
if (options) {
|
||||
deprecatedArgumentOrder = options.deprecatedArgumentOrder;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user