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

client/http, api/middleware: enhance the retry logic of the HTTP client #8229

Merged
merged 2 commits into from
Jun 3, 2024

Unify service discovery error message

1794635
Select commit
Loading
Failed to load commit list.
Merged

client/http, api/middleware: enhance the retry logic of the HTTP client #8229

Unify service discovery error message
1794635
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 3, 2024 in 0s

82.69% of diff hit (target 77.26%)

View this Pull Request on Codecov

82.69% of diff hit (target 77.26%)

Annotations

Check warning on line 31 in client/errs/errs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/errs/errs.go#L31

Added line #L31 was not covered by tests

Check warning on line 134 in client/http/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/client.go#L134

Added line #L134 was not covered by tests

Check warning on line 52 in pkg/utils/apiutil/multiservicesapi/middleware.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/apiutil/multiservicesapi/middleware.go#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 47 in server/apiv2/middlewares/redirector.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/apiv2/middlewares/redirector.go#L46-L47

Added lines #L46 - L47 were not covered by tests