Skip to content

Commit

Permalink
Merge pull request #2 from Cornerstone-OnDemand/fix-urllib3-retry
Browse files Browse the repository at this point in the history
Fix usage of deprecated and removed urllib3 retry attribute
  • Loading branch information
ldeflandre authored Sep 17, 2024
2 parents 9e70c24 + 49238e3 commit d3380af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gimme_aws_creds/okta.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, gac_ui, okta_org_url, verify_ssl_certs=True, device_token=Non
self.device_token = device_token

retries = Retry(total=5, backoff_factor=1,
method_whitelist=['GET', 'POST'])
allowed_methods=['GET', 'POST'])
self._http_client.mount('https://', HTTPAdapter(max_retries=retries))

@property
Expand Down

0 comments on commit d3380af

Please sign in to comment.