We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d61f92 commit 5278bacCopy full SHA for 5278bac
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java
@@ -191,9 +191,8 @@ public String getMongoClientDatabase() {
191
192
/**
193
* Creates a {@link MongoClient} using the given {@code options} and
194
- * {@code environment}. If the configured port is zero, the value of the
195
- * {@code local.mongo.port} property retrieved from the {@code environment} is used to
196
- * configure the client.
+ * {@code environment}. If the environment contains a {@code local.mongo.port}
+ * property, it is used to configure a client to an embedded MongoDB instance.
197
* @param options the options
198
* @param environment the environment
199
* @return the Mongo client
0 commit comments