Skip to content

Commit

Permalink
implement multitenancy index pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdunnjpl committed May 1, 2024
1 parent def5a14 commit 9de76a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pds/registrysweepers/utils/db/multitenancy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ def resolve_multitenant_index_name(index_type: str):
elif index_type not in supported_index_types:
raise ValueError(f'index_type "{index_type}" not supported (expected one of {supported_index_types})')
else:
raise NotImplementedError("the format has not yet been confirmed")
return f"{node_id}_{index_type}"
return f"{node_id}-{index_type}"

0 comments on commit 9de76a9

Please sign in to comment.