Skip to content
Snippets Groups Projects
Commit 79a75e25 authored by Dmitry Kovalev's avatar Dmitry Kovalev
Browse files

Fixing invalid usage of getProtobufServiceAttrs() function.

getProtobufServiceAttrs(service, options) must be called with 2 arguments.
parent 241dea56
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment