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 empty rolloutBatch will panic whole controller bug #1646
Conversation
neat imports
Codecov Report
@@ Coverage Diff @@
## master #1646 +/- ##
==========================================
- Coverage 62.39% 62.36% -0.04%
==========================================
Files 120 120
Lines 11931 11937 +6
==========================================
Hits 7444 7444
- Misses 3724 3730 +6
Partials 763 763
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
good job
* add webhook for app and avoid controller panic neat imports * add test for rollout verify
* add webhook for app and avoid controller panic neat imports * add test for rollout verify # Conflicts: # pkg/webhook/core.oam.dev/v1alpha2/application/validating_handler_test.go # pkg/webhook/core.oam.dev/v1alpha2/application/validation.go # test/e2e-test/application_test.go
* add webhook for app and avoid controller panic neat imports * add test for rollout verify
fix #1631
1.add validation webhook to verify
rolloutBatches
must not be empty2.guarantee empty
rolloutBatches
couldn't crash whole controller even though disable webhook