Skip to content

Commit 9265291

Browse files
committed
fix docstring
1 parent c7ac5b3 commit 9265291

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

redis/commands/core.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,10 +1071,8 @@ def wait(self, num_replicas, timeout, **kwargs):
10711071

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

0 commit comments

Comments
 (0)