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: Instance disk nil pointer issue #1624

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Conversation

yec-akamai
Copy link
Contributor

📝 Description

When we try to refresh the latest disk status, it may fail and cause the refreshed disk id to be nil. Use a local variable to store the disk id value and prevent the nil pointer issue.

✔️ How to Test

make PKG_NAME=linode/instancedisk int-test

@yec-akamai yec-akamai added the bugfix for any bug fixes in the changelog. label Oct 17, 2024
@yec-akamai yec-akamai requested a review from a team as a code owner October 17, 2024 18:04
@yec-akamai yec-akamai requested review from jriddle-linode and ezilber-akamai and removed request for a team October 17, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix for any bug fixes in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant