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 ovms status to http status conversion #2410

Merged
merged 2 commits into from May 27, 2024

Conversation

michalkulakowski
Copy link
Collaborator

@michalkulakowski michalkulakowski commented Apr 15, 2024

[CVS-137593]
[CVS-134110]

@@ -88,7 +88,7 @@ static const net_http::HTTPStatusCode http(const ovms::Status& status) {
{StatusCode::MEDIAPIPE_DEFINITION_NAME_MISSING, net_http::HTTPStatusCode::NOT_FOUND},
{StatusCode::MODEL_VERSION_MISSING, net_http::HTTPStatusCode::NOT_FOUND},
{StatusCode::MODEL_VERSION_NOT_LOADED_ANYMORE, net_http::HTTPStatusCode::NOT_FOUND},
{StatusCode::MODEL_VERSION_NOT_LOADED_YET, net_http::HTTPStatusCode::SERVICE_UNAV},
{StatusCode::MODEL_VERSION_NOT_LOADED_YET, net_http::HTTPStatusCode::NOT_FOUND},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Unify with status below.

@michalkulakowski michalkulakowski removed this from the 2024.1_RC1 milestone Apr 18, 2024
@michalkulakowski michalkulakowski merged commit 48f6e55 into main May 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants