1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Remove deprecated parser option

This commit is contained in:
Ruben Bridgewater
2016-12-17 18:08:51 +01:00
committed by Ruben Bridgewater
parent 98527e0fc5
commit 78187142cb
68 changed files with 151 additions and 185 deletions

View File

@@ -16,7 +16,7 @@ var config = {
IPv4: '127.0.0.1',
IPv6: '::1'
},
configureClient: function (parser, ip, opts) {
configureClient: function (ip, opts) {
var args = [];
// Do not manipulate the opts => copy them each time
opts = opts ? JSON.parse(JSON.stringify(opts)) : {};
@@ -29,7 +29,6 @@ var config = {
opts.family = ip;
}
opts.parser = parser;
args.push(opts);
return args;