Minor amendment in error message

Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
This commit is contained in:
Max Lambrecht 2018-08-09 10:13:15 -03:00
parent c7857e9593
commit 09156bc789
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class CertificateUtils {
String acceptedSpiffeId = Security.getProperty(SSL_SPIFFE_ACCEPT_PROPERTY);
if (!StringUtils.equals(spiffeId.get(), acceptedSpiffeId)) {
String errorMessage = String.format("SPIFFE ID %s is not a trusted", spiffeId.get());
String errorMessage = String.format("SPIFFE ID %s is not trusted", spiffeId.get());
LOGGER.log(Level.WARNING, errorMessage);
throw new CertificateException(errorMessage);
}