Skip to content

Commit 9edbd35

Browse files
committed
Deleted deprecated code
1 parent f91c334 commit 9edbd35

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/de/rub/nds/tls/subject/docker/DockerTlsServerInstance.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ public void start() {
6767
* Update port to match actually exposed port.
6868
*/
6969
public void updateInstancePort() {
70-
InspectContainerResponse containerInfo = DOCKER.inspectContainerCmd(getId()).exec();
71-
if (containerInfo == null) {
72-
throw new IllegalStateException("Could not find container with ID:" + getId());
73-
}
74-
NetworkSettings networkSettings = containerInfo.getNetworkSettings();
75-
if (networkSettings == null) {
76-
throw new IllegalStateException("Cannot retrieve InstacePort, Network not properly configured for container with ID:" + getId());
77-
}
7870
port = imageProperties.getInternalPort();
7971
}
8072

0 commit comments

Comments
 (0)