xds: Log about fallback credentials, not supplier

The sslContextProviderSupplier is used by the xds creds themselves when
the control plane has security configured. But the fallback credentials
don't use such a supplier and may not even be using TLS.

Language tweak following #8554.
This commit is contained in:
Eric Anderson 2021-09-24 12:18:17 -07:00
parent 0245a72926
commit 60475de204
1 changed files with 1 additions and 2 deletions

View File

@ -288,8 +288,7 @@ public final class SdsProtocolNegotiators {
ctx.fireExceptionCaught(new CertStoreException("No certificate source found!"));
return;
}
logger.log(Level.FINE, "Using fallback sslContextProviderSupplier for connection "
+ "from {0} to {1}",
logger.log(Level.FINE, "Using fallback credentials for connection from {0} to {1}",
new Object[]{ctx.channel().remoteAddress(), ctx.channel().localAddress()});
ctx.pipeline()
.replace(