diff options
author | Xavier Coulon | 2016-01-21 10:31:13 +0000 |
---|---|---|
committer | Jeff Johnston | 2016-01-21 17:25:11 +0000 |
commit | 8076721edd21aac7c1cc30f2859b87bff62936a2 (patch) | |
tree | 5b4e014c6888ac91a495b2f60cb7c9e6e69cd5fd /containers/org.eclipse.linuxtools.docker.core/src/org/eclipse | |
parent | 411d6fb09923469b27943f58e990a6c029167751 (diff) | |
download | org.eclipse.linuxtools-8076721edd21aac7c1cc30f2859b87bff62936a2.tar.gz org.eclipse.linuxtools-8076721edd21aac7c1cc30f2859b87bff62936a2.tar.xz org.eclipse.linuxtools-8076721edd21aac7c1cc30f2859b87bff62936a2.zip |
Bug 483679 - [docker image search] make tag selection optional
Allow for search wizard completion when an image is
selected in the search result list, in which case
the 'latest' tag is assumed.
Added SWTBot tests
Added a constant in DockerImage (not the API) to handle the 'latest' tag value
Change-Id: I74c63f3ee6e533f55c9b875dff24df9d60f73380
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
Reviewed-on: https://git.eclipse.org/r/63540
Tested-by: Hudson CI
(cherry picked from commit d115f02832c62128e003bbac29f8f5365531741e)
Reviewed-on: https://git.eclipse.org/r/64690
Reviewed-by: Jeff Johnston <jjohnstn@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/DockerImage.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerImage.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerImage.java index d83f964ed5..63e56522fe 100644 --- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerImage.java +++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerImage.java @@ -58,6 +58,8 @@ public class DockerImage implements IDockerImage { private final boolean intermediateImage; private final boolean danglingImage; + /** the literal value for the 'latest' tag on Docker images. */ + public static final String TAG_LATEST = "latest"; //$NON-NLS-1$ public DockerImage(final DockerConnection parent, @Deprecated final List<String> repoTags, final String repo, final List<String> tags, final String id, final String parentId, final String created, final Long size, |