We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The method below may return null, when adapt fails.
adapt
private static OpenShiftClient toOpenshiftClient(KubernetesClient client) { try { return client.adapt(OpenShiftClient.class); } catch (KubernetesClientException e) { KubernetesClientErrorHandler.handle(e); return null; // will never happen } }
So, what is supposed to never happen actually does.
handle() should always throw an Exception
handle()
handle() only throws SSL related exception Exception
Just create an app add the quarkus-openshift extension and run mvn -Dquarkus.kubernetes.deploy=true against an unreachable cluster.
quarkus-openshift
mvn -Dquarkus.kubernetes.deploy=true
uname -a
ver
No response
java -version
mvnw --version
gradlew --version
quarkusio#19870
$upstream:19870$
The text was updated successfully, but these errors were encountered:
iocanel
No branches or pull requests
Describe the bug
The method below may return null, when
adapt
fails.So, what is supposed to never happen actually does.
Expected behavior
handle()
should always throw an ExceptionActual behavior
handle()
only throws SSL related exception ExceptionHow to Reproduce?
Just create an app add the
quarkus-openshift
extension and runmvn -Dquarkus.kubernetes.deploy=true
against an unreachable cluster.Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
quarkusio#19870
The text was updated successfully, but these errors were encountered: