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:
zhjwpku
2023-10-23 08:30:13 +02:00
committed by GitHub
parent ce187bec38
commit 6cfd90401e
+1 -1
View File
@@ -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.