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

Fix PANIC(runtime error) when creating release #1572

Merged
merged 1 commit into from
Mar 10, 2020

Conversation

sayaoailun
Copy link
Contributor

When err is not nil, chartMulti is nil

Signed-off-by: sayaoailun guojianwei007@126.com

Description of the change

When creating release, I got this [negroni] PANIC: runtime error: invalid memory address or nil pointer dereference. I checked the code and found this:

https://github.com/kubeapps/kubeapps/blob/b772c3b5d31ce06d93546b724095c8f009d42d65/cmd/tiller-proxy/internal/handler/handler.go#L64-L69

When err is not nil, chartMulti is nil

Signed-off-by: sayaoailun <guojianwei007@126.com>
Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

Good catch. Thanks @sayaoailun!

@andresmgot andresmgot merged commit 830168c into vmware-tanzu:master Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants