Skip to content

Commit

Permalink
feat: using generics
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Nov 22, 2023
1 parent fa87e38 commit e4831f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
public class ContainersConfig {

@Container
public static OpensearchContainer openSearchContainer =
new OpensearchContainer(DockerImageName.parse("opensearchproject/opensearch:2.11.0"));
public static OpensearchContainer<?> openSearchContainer =
new OpensearchContainer<>(DockerImageName.parse("opensearchproject/opensearch:2.11.0"));

static {
openSearchContainer.start();
Expand Down

0 comments on commit e4831f8

Please sign in to comment.