mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-26 15:40:21 +00:00
get rid of stale comment of get_cluster (#2922)
PR #2909 remove the cache in Zookeeper implementation of DCS, so the comment of get_cluster should be changed to 'Retrieve a fresh view of DCS' since every implementation does so. Signed-off-by: Zhao Junwang <[email protected]>
This commit is contained in:
@@ -1640,7 +1640,7 @@ class AbstractDCS(abc.ABC):
|
||||
return cluster
|
||||
|
||||
def get_cluster(self) -> Cluster:
|
||||
"""Retrieve an appropriate cached or fresh view of DCS.
|
||||
"""Retrieve a fresh view of DCS.
|
||||
|
||||
.. note::
|
||||
Stores copy of time, status and failsafe values for comparison in DCS update decisions.
|
||||
|
||||
Reference in New Issue
Block a user