Skip to content

Commit

Permalink
remove getMappedPort override
Browse files Browse the repository at this point in the history
  • Loading branch information
whhe committed Feb 18, 2024
1 parent d9c4384 commit 76aa6f5
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ public OceanBaseContainer(DockerImageName dockerImageName) {
addExposedPorts(SQL_PORT, RPC_PORT);
}

@Override
public Integer getMappedPort(int originalPort) {
return "host".equals(getNetworkMode()) ? originalPort : super.getMappedPort(originalPort);
}

@Override
public String getDriverClassName() {
return driverClassName;
Expand Down

0 comments on commit 76aa6f5

Please sign in to comment.