Skip to content

Commit

Permalink
Update components/renku_data_services/secrets/core.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Grubenmann <[email protected]>
  • Loading branch information
leafty and Panaetius authored Dec 3, 2024
1 parent 9c7479b commit 98534aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/renku_data_services/secrets/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def ensure_list(value: str | list[str]) -> list[str]:
key_mapping_list = {key: ensure_list(key_mapping[key]) for key in key_mapping} if key_mapping else None

if key_mapping_list:
if set(key_mapping_list) != requested_secret_ids:
if key_mapping_list.keys() != requested_secret_ids:
raise errors.ValidationError(message="Key mapping must include all requested secret IDs")

all_keys: list[str] = []
Expand Down

0 comments on commit 98534aa

Please sign in to comment.