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: http status code #1833

Conversation

pderer
Copy link
Contributor

@pderer pderer commented Aug 4, 2023

This PR is related to these PRs

Using 404 http status code, it can be assumed that the API endpoint does not exist.
Since this error is a configuration error, 500 status code is appropriate.

For backward compatibility with 22.09, 404 status code should be included.

- Using 404, it can be assumed that the API endpoint itself does not
 exist. Since this error is a configuration error, 500 status
 code is appropriate.
@pderer pderer added type:fix Fix features that are not working effort:easy Need to understand only a specific region of codes (good first issue, easy). urgency:4 As soon as feasible, implementation is essential. comp:manager Related to Manager component labels Aug 4, 2023
@pderer pderer requested a review from inureyes August 4, 2023 06:33
@pderer pderer self-assigned this Aug 4, 2023
@github-actions github-actions bot added the size:XS ~10 LoC label Aug 4, 2023
@pderer pderer added this to the 23.03 milestone Aug 4, 2023
Dongjin Park added 2 commits August 9, 2023 06:26
- fix/http-status-code-when-unable-to-terminate
  -compute-session-when-wsproxy-address-is-not-properly
- for backward compatibility with 22.09,
  404 status code should be included.
Copy link
Member

@inureyes inureyes left a comment

Choose a reason for hiding this comment

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

LGTM

@inureyes inureyes merged commit b464aa7 into main Aug 9, 2023
4 checks passed
@inureyes inureyes deleted the fix/http-status-code-when-unable-to-terminate-compute-session-when-wsproxy-address-is-not-properly branch August 9, 2023 06:36
mnxmnz pushed a commit to lablup/backend.ai-webui-ossca-2023 that referenced this pull request Aug 10, 2023
* fix: http status code
- Using 404, it can be assumed that the API endpoint itself does not
 exist. Since this error is a configuration error, 500 status
 code is appropriate.

* fix: http status code backward compatibility
- for backward compatibility with 22.09,
  404 status code should be included.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:manager Related to Manager component effort:easy Need to understand only a specific region of codes (good first issue, easy). size:XS ~10 LoC type:fix Fix features that are not working urgency:4 As soon as feasible, implementation is essential.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants