Skip to content

Commit b57a90f

Browse files
author
avandras
committed
Adjust cache dict definition
1 parent 831a1a0 commit b57a90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patroni/ctl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def is_citus_cluster() -> bool:
367367

368368

369369
# Cache DCS instances for given scope and group
370-
__dcs_cache: Dict[Tuple[str, Optional[int]], AbstractDCS] = {}
370+
__dcs_cache: Dict[Tuple[str, Optional[int], Optional[bool]], AbstractDCS] = {}
371371

372372

373373
def get_dcs(scope: str, group: Optional[int], multisite: Optional[bool] = False) -> AbstractDCS:

0 commit comments

Comments
 (0)