OpenShift 3 doesn't compile with latest changes in Docker
tooling
------------------------------------------------------------------
Key: JBIDE-22764
URL:
https://issues.jboss.org/browse/JBIDE-22764
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.1.AM1
Reporter: Fred Bricon
Assignee: Fred Bricon
Fix For: 4.4.1.AM2
Some temporary hack
(
https://github.com/jbosstools/jbosstools-openshift/commit/189fd3dfc006086...)
no longer compiles against the latest docker tooling (in master) code:
{code:java}
// FIXME: needs to catch DockerCertificateException until
//
https://bugs.eclipse.org/bugs/show_bug.cgi?id=495249 is fixed
catch (DockerException | InterruptedException | DockerCertificateException e) {
return new Status(IStatus.ERROR, OpenShiftUIActivator.PLUGIN_ID,
"Failed to push the selected Docker image into OpenShift registry", e);
}
{code}
com.spotify.docker.client.DockerCertificateException is no longer thrown by the Docker
API so the catch block fails to compile.
We can fix the compilation problem with Neon.1 while still maintaining Neon.0
compatibility with a different, yet fugly, trick.