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

Don't panic on error in rebaseRule provided by user #386

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

redbaron
Copy link
Contributor

@redbaron redbaron commented Dec 8, 2021

User can provide rebaseRule with {allIndexes: true} as last element , which is not supported and should generate error message.

Other panics in this file left as is, because when these are more like asserts, indicating bug in the code when triggered.

@vmwclabot
Copy link

@redbaron, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

Copy link
Contributor

@100mik 100mik left a comment

Choose a reason for hiding this comment

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

Looks reasonable! Thanks for the PR. Just a minor change to make sure it's consistent with the rest of the codebase.

User can provide rebaseRule with `{allIndexes: true}` as last element , which is not supported and should generate error message.

Other panics in this file left as is, because when these are more like asserts, indicating bug in the code when triggered.
Copy link
Contributor

@100mik 100mik left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks for the contributions @redbaron 🚀

@100mik 100mik merged commit 6b191d2 into carvel-dev:develop Dec 8, 2021
@redbaron redbaron deleted the patch-1 branch December 8, 2021 18:36
@vmwclabot
Copy link

@redbaron, your company's legal contact did not review your signed contributor license agreement within the 14 day limit. The merge can not proceed. Click here to resign the agreement.

@github-actions github-actions bot added the carvel triage This issue has not yet been reviewed for validity label Dec 22, 2021
@vmwclabot
Copy link

@redbaron, VMware has approved your signed contributor license agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
carvel triage This issue has not yet been reviewed for validity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants