Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Coulon2015-08-31 10:52:35 +0000
committerRoland Grunberg2015-09-08 18:18:19 +0000
commitcaaa4b2f3a452981d6b6c6353a75f707a716a953 (patch)
tree0415de921c70db6a6da150536d2dc248077db069 /containers/org.eclipse.linuxtools.docker.core/src/org/eclipse
parent2fdb20264afaec512775beff543e9c76dd6ff35f (diff)
downloadorg.eclipse.linuxtools-caaa4b2f3a452981d6b6c6353a75f707a716a953.tar.gz
org.eclipse.linuxtools-caaa4b2f3a452981d6b6c6353a75f707a716a953.tar.xz
org.eclipse.linuxtools-caaa4b2f3a452981d6b6c6353a75f707a716a953.zip
Bug 475881 - Pull image workflow improvement
Restored the PullImage wizard as the first step when pulling an image. The "Search..." buttons opens the SearchImage dialog with search term prefilled from the current image name. If no tag is specified, then 'latest' is assumed. The validation only raises warnings to avoid preventing the user to attempt to pull an image ( the Docker daemon may eventually raise an error). Added some JUnit tests to validate the image name patterns Change-Id: I7b7fef9e8ed9bbbc7701880af44a4e9f412a1543 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/55098 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'containers/org.eclipse.linuxtools.docker.core/src/org/eclipse')
-rw-r--r--containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
index 4454a2a3ba..001243cd22 100644
--- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
+++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
@@ -1054,6 +1054,7 @@ public class DockerConnection implements IDockerConnection, Closeable {
try {
DockerProgressHandler d = new DockerProgressHandler(handler);
client.pull(id, d);
+ listImages();
} catch (com.spotify.docker.client.DockerRequestException e) {
throw new DockerException(e.message());
} catch (com.spotify.docker.client.DockerException e) {

Back to the top