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 nil pointer dereference when rendering message #318

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

gabriel-samfira
Copy link
Member

We failed to properly check the error of the update url call before trying to access the payload, which lead to a panic in the CLI. This change should fix that.

Fixes: #317

We failed to properly check the error of the update url call before
trying to access the payload, which lead to a panic in the CLI. This
change should fix that.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit 1cb2d70 into cloudbase:main Dec 12, 2024
4 checks passed
@gabriel-samfira gabriel-samfira deleted the fix-nil-pointer-cli branch December 12, 2024 08:49
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.

panic: runtime error: invalid memory address or nil pointer dereference
1 participant