We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef08c88 commit 4934ab7Copy full SHA for 4934ab7
src/main/java/io/lettuce/core/protocol/CommandHandler.java
@@ -220,7 +220,7 @@ public void channelRegistered(ChannelHandlerContext ctx) throws Exception {
220
if (channel.hasAttr(ConnectionBuilder.REDIS_URI)) {
221
String redisUriStr = channel.attr(ConnectionBuilder.REDIS_URI).get();
222
RedisURI redisURI = RedisURI.create(redisUriStr);
223
- tracingServerAddress = redisURI.toString();
+ tracingServerAddress = redisUriStr;
224
tracingDbNamespace = String.valueOf(redisURI.getDatabase());
225
tracingUsername = Optional.ofNullable(redisURI.getCredentialsProvider().resolveCredentials().block())
226
.map(RedisCredentials::getUsername).orElse("");
0 commit comments