remove unneded check
This commit is contained in:
parent
74831c9b7f
commit
04faaea10d
@ -79,10 +79,7 @@ TemplateMaps.prototype._redisCmd = function(redisFunc, redisArgs, callback) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
if ( ! _.isUndefined(redisClient) ) {
|
||||
this.redis_pool.release(this.db_signatures, redisClient);
|
||||
}
|
||||
|
||||
this.redis_pool.release(this.db_signatures, redisClient);
|
||||
callback(null, data);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user