Fix Quota plugin state on QuotaSummaryResponse#7257
Fix Quota plugin state on QuotaSummaryResponse#7257DaanHoogland merged 2 commits intoapache:mainfrom
Conversation
|
Hey @DaanHoogland, this is the one line PR fix mentioned in the mailing list. |
|
Looks trivial @BryanMLima . Is this covered by an existing test? Or can we add a trivial test or assert somewhere? |
Codecov Report
@@ Coverage Diff @@
## main #7257 +/- ##
============================================
+ Coverage 12.67% 12.69% +0.01%
- Complexity 8639 8655 +16
============================================
Files 2716 2716
Lines 256112 256112
Branches 39926 39926
============================================
+ Hits 32456 32503 +47
+ Misses 219528 219477 -51
- Partials 4128 4132 +4
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
stephankruggg
left a comment
There was a problem hiding this comment.
CLGTM, not manually tested
|
Didn't check/test this, but clgtm |
|
@BryanMLima , I'd love to add this but at this stage I really want some prove included
|
Sorry for the delay, I am taking a look in to this. I will probably add a integration test in |
seems like overkill for this @BryanMLima . As only a response field is added it would suffice to assert its presence in an existing test. |
|
Kudos, SonarCloud Quality Gate passed! |
|
@blueorangutan package |
|
@DaanHoogland a 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. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5627 |








Description
This PR aims to fix a feature introduced in PR#6690. It was added the parameter
quotaenabledto the response of the Quota Summary API. However, this parameter was not set, and thus, always returned false. This PR fix this behavior, returning the correct value according to the configuration value.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
This was tested in a local lab with user
dom01with the Quota plugin enabled and with userdom02with the plugin disabled. The image below presents the correct behavior for Quota summary response.