Skip to content

Commit

Permalink
Reverting eclipse-che#6019: Workaround for ImageStreamTags issue on O…
Browse files Browse the repository at this point in the history
…penShift 3.6

Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
  • Loading branch information
ibuziuk committed Aug 17, 2017
1 parent a27da4f commit ee09e10
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,6 @@ public ContainerCreated createContainer(CreateContainerParams createContainerPar
openShiftCheProjectName,
imageStreamTagPullSpec);

// Workaround for ImageStreamTags issue
dockerPullSpec = imageStreamTag.getTag().getFrom().getName();

ContainerConfig containerConfig = createContainerParams.getContainerConfig();
ImageConfig imageConfig = inspectImage(InspectImageParams.create(imageForDocker)).getConfig();

Expand Down Expand Up @@ -593,8 +590,6 @@ public ContainerInfo inspectContainer(String containerId) throws IOException {
ImageStreamTag tag = getImageStreamTagFromRepo(tagName);
ImageInfo imageInfo = getImageInfoFromTag(tag);



Service svc = getCheServiceBySelector(OPENSHIFT_DEPLOYMENT_LABEL, deploymentName);
if (svc == null) {
LOG.warn("No Service found by selector {}={}", OPENSHIFT_DEPLOYMENT_LABEL, deploymentName);
Expand Down

0 comments on commit ee09e10

Please sign in to comment.