-
Notifications
You must be signed in to change notification settings - Fork 265
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 the panic error in dashboard proxy #3581
Conversation
|
Hi @TianxiangShen. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind bug |
59eccc4
to
b026fce
Compare
Thanks for the PR @TianxiangShen. Can you share some details about how to reproduce the issue? We'll be delivering a complete rewrite of the backend in an upcoming release so it would be good to verify the new version is not affected by the same issue. /ok-to-test |
Hi Alan, sorry for the late reply. This issue happens when dashboard backend trys to access the external-logs server and that server send backs an empty respons. here's my setting for the dashboard pod:
when the external-logs server
|
Thanks for the extra info @TianxiangShen, this is good to know. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AlanGreene 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 |
Changes
fix the panic error in dashboard proxy which is due to null pointer. The external log server might returns an empty response. We need to check the response first before returns the status code.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes