fapifta commented on code in PR #6725:
URL: https://github.com/apache/ozone/pull/6725#discussion_r1630860387
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMCertStore.java:
##########
@@ -129,98 +108,15 @@ public void storeValidScmCertificate(BigInteger serialID,
public void checkValidCertID(BigInteger serialID) throws IOException {
lock.lock();
try {
- if ((getCertificateByID(serialID, VALID_CERTS) != null) ||
- (getCertificateByID(serialID, CertType.REVOKED_CERTS) != null)) {
+ if ((getCertificateByID(serialID) != null) ||
Review Comment:
you are right, thank you for spotting this one...
--
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]