-
Notifications
You must be signed in to change notification settings - Fork 263
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
Added back functionality to deprecated max-scale/min-scale #1010
Conversation
Issue also mentions that I need to add e2e tests, which will take me a little bit longer to address. |
The following is the coverage report on the affected files.
|
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.
/retest
/retest |
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.
thanks for the quick fix ! As soon as we have this merged we should trigger a new minor release asap.
@@ -313,6 +313,22 @@ func (p *ConfigurationEditFlags) Apply( | |||
} | |||
} | |||
|
|||
// Deprecated option | |||
if cmd.Flags().Changed("min-scale") { |
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.
you could add it to the if
below with an "or", to avoid duplicated code. Also, I would add an comment for which release we can remove this option.
According to our policy this would be n+2 where n is the first version where this feature was deprecated (so 0.19 iiur)
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.
Thank you for the suggestions. Went ahead and make the updates.
It's totally fine to have this quick fix first (so that we can deliver a patch release asap) and then add the e2e test later. This should also not be that hard as it is just to add some extra variations for these options. |
/retest |
/retest |
1 similar comment
/retest |
Finally passed the |
Thanks ! /lgtm |
@mpetason : you might want to try rebasing onto current master and see if the tests are through ? |
Oh, the build issue comes from an update of the test scripts, coming in with a pr that was merged just before. I will take care. |
Infratest failure is because of a flake. |
Sounds good, let me know if you end up needing me to do something on my end. |
/retest |
1 similar comment
/retest |
The markdown check failure only happens in this PR but not others, @mpetason a rebase against latest master should help I think. |
Sounds good, I'll get that taken care of. |
…ment, also updated deprecated message
Awesome. I think that fixed it. Thanks for the help and suggestions. I got some help and didn't follow the git recommendations and was able to rebase without adding 100 more commits haha. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maximilien, mpetason, navidshaikh, rhuss 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 |
* Added back functionality to deprecated max-scale/min-scale (#1010) * Added back functionality to deprecated max-scale/min-scale * Updated based on review, removed duplicate code and added an or statement, also updated deprecated message * fix(e2e): Let the subscription and related resource reconcile (#1044) sleep for 5 seconds after subscription create and update in e2e * Update CHANGELOG Co-authored-by: Mike Petersen <[email protected]>
* [release-v1.0.0] Update kn-plugin-func * Fix vendoring
Description
Adds back functionality for max-scale/min-scale options. I ended up swapping over naming but never added additional sections to update.
Changes
Reference
Fixes #1008