-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Adds detail to initialScale validation error msgs #12704
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
Adds detail to initialScale validation error msgs #12704
Conversation
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com> Originally, validateInitialScale returned an ErrInvalidValue for any invalid value. This PR adds more specific error messages for the cases when either a negative value is used or if initialScale=0 when not allowed by the cluster.
unit tests are failures are legit - error messages need updating |
That's what I get for only running the unit buckets in the same directory :) |
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
Codecov Report
@@ Coverage Diff @@
## main #12704 +/- ##
=======================================
Coverage 87.30% 87.30%
=======================================
Files 196 196
Lines 9741 9745 +4
=======================================
+ Hits 8504 8508 +4
- Misses 951 952 +1
+ Partials 286 285 -1
Continue to review full report at Codecov.
|
it happens and that's what presubmits are for :) /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, psschwei The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Signed-off-by: Paul S. Schweigert paulschw@us.ibm.com
Proposed Changes
Originally, validateInitialScale returned an ErrInvalidValue for any
invalid value. This PR adds more specific error messages for the cases
when either a negative value is used or if initialScale=0 when not
allowed by the cluster.
Release Note