Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert change to add support for new OKTA OIE #744

Merged
merged 1 commit into from Mar 16, 2023

Conversation

sfc-gh-ext-simba-lb
Copy link
Contributor

@sfc-gh-ext-simba-lb sfc-gh-ext-simba-lb commented Mar 15, 2023

Partially reverts #731
(keeping change to retry 429)

retry.go Outdated
@@ -239,7 +239,7 @@ func (r *retryHTTP) execute() (res *http.Response, err error) {
logger.WithContext(r.ctx).Warningf(
"failed http connection. no response is returned. err: %v. retrying...\n", err)
} else {
if res.StatusCode == http.StatusOK || r.raise4XX && res != nil && res.StatusCode >= 400 && res.StatusCode < 500 && res.StatusCode != 429 {
if res.StatusCode == http.StatusOK || r.raise4XX && res != nil && res.StatusCode >= 400 && res.StatusCode < 500 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can keep 429 retry part. There is a separate issue file for it.

@sfc-gh-ext-simba-lb sfc-gh-ext-simba-lb changed the title Revert "Add support for new OKTA OIE and retry 429 error code" Revert change to add support for new OKTA OIE Mar 15, 2023
Copy link
Collaborator

@sfc-gh-igarish sfc-gh-igarish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sfc-gh-ext-simba-lb sfc-gh-ext-simba-lb merged commit 99ac214 into master Mar 16, 2023
@sfc-gh-ext-simba-lb sfc-gh-ext-simba-lb deleted the revert-731-retryHttpStatusCode429 branch March 16, 2023 15:52
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants