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

Return response on update_status in all cases #329

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

grisu48
Copy link
Collaborator

@grisu48 grisu48 commented Nov 30, 2023

Always return a reply when update/status is queried.

Redirecting the /update/status to /instances in the case that a certain http header is not set is confusing and should not happen. The API path should always return something valid or at least throw an error if a input parameter is missing.

Always return a reply when update/status is queried.
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (eca9f33) 79.06% compared to head (6383215) 79.16%.

Files Patch % Lines
ocw/views.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #329      +/-   ##
==========================================
+ Coverage   79.06%   79.16%   +0.10%     
==========================================
  Files          21       21              
  Lines        1614     1612       -2     
==========================================
  Hits         1276     1276              
+ Misses        338      336       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@ricardobranco777 ricardobranco777 left a comment

Choose a reason for hiding this comment

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

LGTM. Please fix the indentation within the block.

@asmorodskyi asmorodskyi merged commit f1ba293 into SUSE:master Nov 30, 2023
9 checks passed
@asmorodskyi
Copy link
Collaborator

LGTM. Please fix the indentation within the block.

sorry I noticed your message after pressing merge 😞

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.

3 participants