-
Notifications
You must be signed in to change notification settings - Fork 5k
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: Fix a nil pointer crash for repo server #10696
Conversation
Codecov ReportBase: 45.75% // Head: 45.76% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #10696 +/- ##
=======================================
Coverage 45.75% 45.76%
=======================================
Files 236 236
Lines 28527 28529 +2
=======================================
+ Hits 13053 13055 +2
Misses 13669 13669
Partials 1805 1805
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Thanks! Would you also be able to add a unit test for this fix, to ensure there'll be no regression in the future? |
Okay, I'll try to add a unit test for this fix. |
Fixes: argoproj#10614 Signed-off-by: cleverhu <shouping.hu@daocloud.io>
fe5a76e
to
8dd614e
Compare
@jannfis I have modified the file to cover this situation which actually is a bug. PTAL. Thanks. |
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!
Thanks @cleverhu
@crenshaw-dev @alexmt FYI, will cherry-pick this into release-2.4 once merged. |
Fixes: #10614 Signed-off-by: cleverhu <shouping.hu@daocloud.io> Signed-off-by: cleverhu <shouping.hu@daocloud.io> Co-authored-by: jannfis <jann@mistrust.net>
Fixes: argoproj#10614 Signed-off-by: cleverhu <shouping.hu@daocloud.io> Signed-off-by: cleverhu <shouping.hu@daocloud.io> Co-authored-by: jannfis <jann@mistrust.net>
Fixes: #10614 Signed-off-by: cleverhu <shouping.hu@daocloud.io> Signed-off-by: cleverhu <shouping.hu@daocloud.io> Co-authored-by: jannfis <jann@mistrust.net>
Cherry-picked onto release-2.3 for 2.3.12. |
Fixes: #10614
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: