From 79a75e25c450d0f86c268578d81014dafd173ed2 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Thu, 21 Apr 2016 23:32:30 -0700 Subject: Fixing invalid usage of getProtobufServiceAttrs() function. getProtobufServiceAttrs(service, options) must be called with 2 arguments. --- src/node/src/client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/node/src/client.js b/src/node/src/client.js index 5e07046fc6..f75f951eb8 100644 --- a/src/node/src/client.js +++ b/src/node/src/client.js @@ -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; -- cgit v1.2.3