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

refactor: optimize status code for rest-api #559

Merged
merged 4 commits into from
Jul 30, 2024

Conversation

elliotxx
Copy link
Collaborator

@elliotxx elliotxx commented Jul 30, 2024

What type of PR is this?

/kind refactor

What this PR does / why we need it:

Optimize status code for rest-api. Now even if the wrong response status code is 200, this is not correct.

image

@elliotxx elliotxx added this to the v0.5.0 milestone Jul 30, 2024
@elliotxx elliotxx self-assigned this Jul 30, 2024
@elliotxx elliotxx changed the title refactor: optimize status code for rest-api [WIP] refactor: optimize status code for rest-api Jul 30, 2024
@elliotxx elliotxx changed the title [WIP] refactor: optimize status code for rest-api refactor: optimize status code for rest-api Jul 30, 2024
Copy link
Collaborator

@ruquanzhao ruquanzhao left a comment

Choose a reason for hiding this comment

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

/lgtm

@elliotxx elliotxx merged commit ff640be into main Jul 30, 2024
6 checks passed
@elliotxx elliotxx deleted the optimize-statuscode-for-restapi branch July 30, 2024 12:54
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2024
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.

2 participants