Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
segment_contains compliance
  • Loading branch information
mmelograno committed May 10, 2024
commit bd216bba0bc4bd7b82f710133d4b2bce31688be7
2 changes: 1 addition & 1 deletion splitio/storage/pluggable.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def segment_contains(self, segment_name, key):
except Exception:
_LOGGER.error('Error checking segment key')
_LOGGER.debug('Error: ', exc_info=True)
return None
return False

def get_segment_keys_count(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion splitio/storage/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def segment_contains(self, segment_name, key):
except RedisAdapterException:
_LOGGER.error('Error testing members in segment stored in redis')
_LOGGER.debug('Error: ', exc_info=True)
return None
return False

def get_segments_count(self):
"""
Expand Down