Skip to content

Commit 4360a9f

Browse files
authored
Merge pull request #27 from picoded/mongodb-support
Mongodb support
2 parents d0c4880 + 9e51a55 commit 4360a9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/picoded/dstack/mongodb/MongoDBStack.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ public MongoDBStack(GenericConvertMap<String, Object> inConfig) {
109109
// Get the connection & database
110110
client_conn = setupFromConfig(dbConfig);
111111

112-
// Get the DB conneciton
113-
db_conn = client_conn.getDatabase(inConfig.getString("name"));
112+
// Get the DB connection
113+
db_conn = client_conn.getDatabase(dbConfig.fetchString("name"));
114114
}
115115

116116
/**

0 commit comments

Comments
 (0)