We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14b93f7 + e5a980c commit e1fc958Copy full SHA for e1fc958
lib/PoolCluster.js
@@ -64,6 +64,7 @@ PoolCluster.prototype.add = function(id, config) {
64
};
65
66
PoolCluster.prototype.getConnection = function(pattern, selector, cb) {
67
+ var namespace;
68
if (typeof pattern === 'function') {
69
cb = pattern;
70
namespace = this.of();
0 commit comments