Skip to content

Commit

Permalink
Merge pull request ExpediaGroup#32 from ExpediaGroup/tipike/bugfix
Browse files Browse the repository at this point in the history
use replace instead of strip
  • Loading branch information
piket authored Sep 6, 2023
2 parents 24ffa98 + dede96b commit 6e17017
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _create_index_params(self, tags: Dict[str, str], data_type: DataType):
(Dict): a dictionary formatted for the create_index params argument
"""
valid_indexes = IndexType._member_map_
index_type_tag = tags.get("index_type", "").upper().strip("BIN_")
index_type_tag = tags.get("index_type", "").upper().replace("BIN_", "")

index_type = (
IndexType[index_type_tag]
Expand Down

0 comments on commit 6e17017

Please sign in to comment.