summaryrefslogtreecommitdiff
path: root/redis/cluster.py
diff options
context:
space:
mode:
authorRobert Hofer <1058012+hofrob@users.noreply.github.com>2022-11-07 08:20:54 +0100
committerGitHub <noreply@github.com>2022-11-07 09:20:54 +0200
commitab922dbf3c7544fab4fe6247e1f3d57958ffd767 (patch)
treee49c462ac0512f806c17c58f3738cca5c2d51f5d /redis/cluster.py
parent16270e4bb5fcaebe8a8992fc2b2ccbd9d57b8c3e (diff)
downloadredis-py-ab922dbf3c7544fab4fe6247e1f3d57958ffd767.tar.gz
fix docs for password protected socket access (#2378)
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
Diffstat (limited to 'redis/cluster.py')
-rw-r--r--redis/cluster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/cluster.py b/redis/cluster.py
index cee578b..cb3b2a6 100644
--- a/redis/cluster.py
+++ b/redis/cluster.py
@@ -388,7 +388,7 @@ class RedisCluster(AbstractRedisCluster, RedisClusterCommands):
redis://[[username]:[password]]@localhost:6379/0
rediss://[[username]:[password]]@localhost:6379/0
- unix://[[username]:[password]]@/path/to/socket.sock?db=0
+ unix://[username@]/path/to/socket.sock?db=0[&password=password]
Three URL schemes are supported: