Skip to content

Commit

Permalink
return type on listCollectionNames() changed in 5.0.0 so backwards co…
Browse files Browse the repository at this point in the history
…mpat can only go that far.
  • Loading branch information
evanchooly committed May 12, 2024
1 parent e6a05c6 commit 89dd550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/DriverVersions.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static void main(String... args) throws Exception {
// props to Chris Dellaway for the pointer to this
var url = "https://repo1.maven.org/maven2/org/mongodb/mongodb-driver-sync/maven-metadata.xml";

var min = System.getenv().getOrDefault("DRIVER_MIN", "4.0.0");
var min = System.getenv().getOrDefault("DRIVER_MIN", "5.0.0");
Version driverMinimum = Version.valueOf(min);
var mapper = new XmlMapper();
var document = mapper.readTree(new URL(url));
Expand Down

0 comments on commit 89dd550

Please sign in to comment.