Skip to content

Commit

Permalink
Polish "Generate test application with pgvector and spring-ai if pgve…
Browse files Browse the repository at this point in the history
…ctor is selected"

See gh-1420
  • Loading branch information
mhalbritter committed Mar 25, 2024
1 parent 852ffbd commit bd640c3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ ServiceConnectionsCustomizer pgvectorServiceConnectionsCustomizer(DockerServiceR
Map<String, String> resolve = this.versionResolver.resolveDependencies("org.springframework.boot",
"spring-boot-dependencies", this.description.getPlatformVersion().toString());
String testcontainersVersion = resolve.get("org.testcontainers:testcontainers");

return (serviceConnections) -> {
if (TESTCONTAINERS_1_19_7_OR_LATER.match(Version.parse(testcontainersVersion))) {
serviceResolver.doWith("pgvector", (service) -> serviceConnections.addServiceConnection(
Expand Down

0 comments on commit bd640c3

Please sign in to comment.