Skip to content

Commit

Permalink
fix: properly init AuthProviderSumoToken with resource_id (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
equinor-ruaj authored Jan 7, 2025
1 parent 6ce4400 commit bb18c16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sumo/wrapper/_auth_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ class AuthProviderSumoToken(AuthProvider):
before_sleep=_log_retry_info,
)
def __init__(self, resource_id, case_uuid=None):
super().__init__(resource_id)
protect_token_cache(resource_id, ".sharedkey", case_uuid)
token_path = get_token_path(resource_id, ".sharedkey", case_uuid)
with open(token_path, "r") as f:
Expand Down

0 comments on commit bb18c16

Please sign in to comment.