neils-dev opened a new pull request, #3428: URL: https://github.com/apache/ozone/pull/3428
## What changes were proposed in this pull request? To have the` RpcClient` raise a certificate exception and log the error should the serviceinfo `OMRequest` it makes return no certificates (`caCertPemList` empty and `caCertificate` null). Currently should the serviceinfo OmRequest return _null_ or `empy` list of certificates and `null` certifcate, it raises an NPE. This PR fixes this by logging the error and raising a descriptive certificate exception. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6756 ## How was this patch tested? Manual testing with docker cluster and intellij ozone developments environments. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
