Skip to content

Commit d2120e5

Browse files
fix(start-release): Move from deprecated 'method_whitelist' arg to 'allowed_methods' in Retry policy (#88)
1 parent 951e9eb commit d2120e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github-actions/start-release/api/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self, api_key, repo_name):
3535
HTTPStatus.SERVICE_UNAVAILABLE,
3636
HTTPStatus.GATEWAY_TIMEOUT,
3737
],
38-
method_whitelist=["GET", "PATCH", "POST"],
38+
allowed_methods=["GET", "PATCH", "POST"],
3939
)
4040
self._session.mount(self._repo_base_url, HTTPAdapter(max_retries=retry_strategy))
4141

0 commit comments

Comments
 (0)