Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed as per review feedback

  • Loading branch information...
commit f9140ba611ed3b54a80d4499984f8ca8e86005e7 1 parent bb46fe3
@rpidikiti rpidikiti authored
View
2  ...es/mongo-utils/src/main/scala/com/wordnik/mongo/connection/MongoDBConnectionManager.scala
@@ -190,7 +190,7 @@ object MongoDBConnectionManager {
pool(snl).foreach(server => serverList += server)
val dbServer = new DBServer(db, username, password, replicationType)
- if(!serverList.contains(dbServer)) serverList += new DBServer(db, username, password, replicationType)
+ if(!serverList.contains(dbServer)) serverList += dbServer
pool += snl -> serverList.toList
LOGGER.finest("adding to pool, key: " + snl + ", db: " + db)
}
Please sign in to comment.
Something went wrong with that request. Please try again.