-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 listServiceOfferings regression #9894
Fix listServiceOfferings regression #9894
Conversation
@blueorangutan package |
@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9894 +/- ##
============================================
+ Coverage 15.08% 15.11% +0.02%
- Complexity 11203 11220 +17
============================================
Files 5404 5404
Lines 473423 473426 +3
Branches 59987 59988 +1
============================================
+ Hits 71429 71550 +121
+ Misses 394044 393878 -166
- Partials 7950 7998 +48
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11511 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
not tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
This PR fixes a regression introduced in 4.19.1.0 in the
listServiceOfferings
API.The API's query was being built with an AND where there previously was an OR. This regression caused the API to not return the expected offerings, breaking the dynamic scale of instances via the UI (#9879).
Fixes: #9879
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
a) Before the regression, the following query would be performed:
Originally, the section that got regressed was:
b) With the regression, the following query is performed:
The problematic section:
c) With the patch:
The second AND was reverted to an OR: