不要怂,就是干,撸起袖子干!

Commit a6ff98be by Jan Aagaard Meier

I am too quick at copy pasta!

thanks to @KevinMartin
1 parent fdc58596
Showing with 2 additions and 2 deletions
...@@ -94,7 +94,7 @@ module.exports = (function() { ...@@ -94,7 +94,7 @@ module.exports = (function() {
connection.queryType = 'read' connection.queryType = 'read'
} }
done(null, connection) done(err, connection)
}, config) }, config)
}, },
destroy: function(client) { destroy: function(client) {
...@@ -113,7 +113,7 @@ module.exports = (function() { ...@@ -113,7 +113,7 @@ module.exports = (function() {
connection.queryType = 'write' connection.queryType = 'write'
} }
done(null, connection) done(err, connection)
}, self.config.replication.write) }, self.config.replication.write)
}, },
destroy: function(client) { destroy: function(client) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!