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

fix: handle 2xx status as healthy lsp #530

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

odinnordico
Copy link
Contributor

Pull request

What this PR does / why we need it

Although in TAP 1.6+, LSP will be provisioned by default on TAP iterate clusters, we can’t assume developers will always be pointing to a TAP env where LSP exists or is running/healthy.

This PR fixes the LSP health response validation to take all the 2xx HTTP codes as a healthy answer

Which issue(s) this PR fixes

Fixes #523

Describe testing done for PR

Additional information or special notes for your reviewer

Signed-off-by: Diego Alfonso <dalfonso@vmware.com>
Copy link
Contributor

@shaheerkootteeri shaheerkootteeri left a comment

Choose a reason for hiding this comment

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

LGTM

@warango4 warango4 merged commit 6894021 into vmware-tanzu:main Apr 12, 2023
@warango4 warango4 deleted the lsp-health-2xx branch April 12, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tanzu apps lsp health for reporting health of the local source registry proxy
5 participants