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 nill pointer #138

Merged
merged 1 commit into from
Feb 17, 2021
Merged

Fix nill pointer #138

merged 1 commit into from
Feb 17, 2021

Conversation

Moglum
Copy link
Contributor

@Moglum Moglum commented Feb 12, 2021

Fix for #107

Terraform ResourceInstance.Current can be nil which causes a nil pointer dereference in db.go
I haven't investigated deeper into Terraform code, just added a simple check. There might be some consequences I am not aware of, but it seems to be working just fine.

@raphink
Copy link
Contributor

raphink commented Feb 17, 2021

Good catch!

@raphink raphink merged commit ad7f33a into camptocamp:master Feb 17, 2021
@raphink raphink added the bug label Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants