Some temporary hack (https://github.com/jbosstools/jbosstools-openshift/commit/189fd3dfc0060866bdb5a4197502cc3f0e3cce87?diff=unified#diff-7c0e23e79b061ce0d1f81e959bf4751dR70) no longer compiles against the latest docker tooling (in master) code:
// 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); }
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.
- links to