Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h committed Feb 6, 2022
1 parent c7ac5b3 commit 9265291
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions redis/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,10 +1071,8 @@ def wait(self, num_replicas, timeout, **kwargs):

def failover(self):
"""
This command will start a coordinated failover between
the currently-connected-to master and one of its replicas.
For more information check https://redis.io/commands/failover
This function throws a NotImplementedError since it is intentionally
not supported.
"""
raise NotImplementedError(
"FAILOVER is intentionally not implemented in the client."
Expand Down

0 comments on commit 9265291

Please sign in to comment.