DATAREDIS-1045 - Fix target URI when setting password.

...and update reference documentation to reflect the changes.

Original Pull Request: #490
This commit is contained in:
Christoph Strobl
2019-10-30 09:06:38 +01:00
parent 049f4d78ab
commit 90be8d388e
2 changed files with 6 additions and 1 deletions

View File

@@ -1080,7 +1080,7 @@ public class LettuceConnectionFactory
applyToAll(redisUri, it -> {
getRedisPassword().toOptional().ifPresent(redisUri::setPassword);
getRedisPassword().toOptional().ifPresent(it::setPassword);
clientConfiguration.getClientName().ifPresent(it::setClientName);
it.setSsl(clientConfiguration.isUseSsl());