Skip to content

Commit

Permalink
Test tagSets
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStapp committed Feb 14, 2024
1 parent 81e76f7 commit 5cc05b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ def parse_read_preference(pref):
mode_string = mode_string[:1].lower() + mode_string[1:]
mode = read_preferences.read_pref_mode_from_name(mode_string)
max_staleness = pref.get("maxStalenessSeconds", -1)
tag_sets = pref.get("tag_sets") or pref.get("tagSets")
tag_sets = pref.get("tagSets") or pref.get("tag_sets")
return read_preferences.make_read_preference(
mode, tag_sets=tag_sets, max_staleness=max_staleness
)
Expand Down

0 comments on commit 5cc05b0

Please sign in to comment.