-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Make pkg/install/Deployment podTemplateOptions bool functions accept bool param #7942
Make pkg/install/Deployment podTemplateOptions bool functions accept bool param #7942
Conversation
/kind changelog-not-required |
37bb47e
to
e06cc8c
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7942 +/- ##
==========================================
+ Coverage 58.79% 58.82% +0.02%
==========================================
Files 345 346 +1
Lines 28766 28901 +135
==========================================
+ Hits 16914 17002 +88
- Misses 10423 10467 +44
- Partials 1429 1432 +3 ☔ View full report in Codecov by Sentry. |
IMO, this doesn't make a difference from the original functions. |
@blackpiglet the alternative would be to make |
for context this is for external consumption of these functions See: #7379 (comment) WIthout this Bool func that accepts a param, or alternatively exporting the type, I cannot store these podTemplateOption functions in a slice to pass to |
I see. I suggest refactoring those existing functions to suit your scenario instead of keeping the old and the new ones together. |
…bool param Signed-off-by: Tiger Kaovilai <[email protected]>
e06cc8c
to
bd2008c
Compare
Signed-off-by: Tiger Kaovilai [email protected]
Thank you for contributing to Velero!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #7379
Please indicate you've done the following:
/kind changelog-not-required
as a comment on this pull request.site/content/docs/main
.