From 6cfd90401ef2ffd1d7fcf9a7b6e8298ea547634d Mon Sep 17 00:00:00 2001 From: zhjwpku Date: Mon, 23 Oct 2023 14:30:13 +0800 Subject: [PATCH] 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 --- patroni/dcs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patroni/dcs/__init__.py b/patroni/dcs/__init__.py index bc74bbe0..389cae86 100644 --- a/patroni/dcs/__init__.py +++ b/patroni/dcs/__init__.py @@ -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.