pull/8346/merge
Stephane Nicoll 8 years ago
parent 0d61f92479
commit 5278baca01

@ -191,9 +191,8 @@ public class MongoProperties {
/** /**
* Creates a {@link MongoClient} using the given {@code options} and * Creates a {@link MongoClient} using the given {@code options} and
* {@code environment}. If the configured port is zero, the value of the * {@code environment}. If the environment contains a {@code local.mongo.port}
* {@code local.mongo.port} property retrieved from the {@code environment} is used to * property, it is used to configure a client to an embedded MongoDB instance.
* configure the client.
* @param options the options * @param options the options
* @param environment the environment * @param environment the environment
* @return the Mongo client * @return the Mongo client

Loading…
Cancel
Save