Skip to content

Commit 81e2910

Browse files
authored
fix: Fix data store availability status check (#237)
1 parent 35297e3 commit 81e2910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldclient/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __update_availability(self, available: bool):
121121

122122
def __check_availability(self):
123123
try:
124-
if self.store.available:
124+
if self.store.is_available():
125125
self.__update_availability(True)
126126
except BaseException as e:
127127
log.error("Unexpected error from data store status function: %s", e)

0 commit comments

Comments
 (0)