diff options
author | Robert Hofer <1058012+hofrob@users.noreply.github.com> | 2022-11-07 08:20:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 09:20:54 +0200 |
commit | ab922dbf3c7544fab4fe6247e1f3d57958ffd767 (patch) | |
tree | e49c462ac0512f806c17c58f3738cca5c2d51f5d /redis/cluster.py | |
parent | 16270e4bb5fcaebe8a8992fc2b2ccbd9d57b8c3e (diff) | |
download | redis-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.py | 2 |
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: |