Skip to content

Commit

Permalink
fix: Fix data store availability status check
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 committed Dec 13, 2023
1 parent 35297e3 commit 2028ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __update_availability(self, available: bool):

def __check_availability(self):
try:
if self.store.available:
if self.store.is_available():
self.__update_availability(True)
except BaseException as e:
log.error("Unexpected error from data store status function: %s", e)
Expand Down

0 comments on commit 2028ee7

Please sign in to comment.