Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[grid][java]: dynamic grid re-fetch browser images if they were pruned during runtime #13821

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions java/src/org/openqa/selenium/docker/ContainerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ public ContainerConfig(
this.hostConfig = hostConfig;
}

public Image getImage() {
return this.image;
}

public static ContainerConfig image(Image image) {
return new ContainerConfig(
image,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public CreateContainer(DockerProtocol protocol, HttpHandler client) {
}

public Container apply(ContainerConfig info) {
this.protocol.getImage(info.getImage().getName());
diemol marked this conversation as resolved.
Show resolved Hide resolved
HttpResponse res =
DockerMessages.throwIfNecessary(
client.execute(
Expand Down
Loading