Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
BC-7240 - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Jul 10, 2024
1 parent 92941f9 commit f090613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/svs/doido/mongo/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void testConnect(String clientname) {
String uri = "mongodb://mongodb-2.mongo-svc:27017/replicaSet=rs0&directConnection=false";
ServerApi serverApi = ServerApi.builder()
.version(ServerApiVersion.V1)
.build():
.build();
MongoClientSettings settings = MongoClientSettings.builder()
.applyConnectionString(new ConnectionString(uri))
.serverApi(serverApi)
Expand Down

0 comments on commit f090613

Please sign in to comment.