nRFCloud / terraform-provider-cockroach-extra

Additional useful resources for configuring clusters on cockroach cloud
MIT License
1 stars 1 forks source link

Fix null deref when fetching connection options #11

Closed shellderp closed 1 week ago

shellderp commented 2 weeks ago

There are a few issues connecting to dedicated clusters, but the error is not handled correctly, fix that first.

The bug here is that err is not updated, and the err returned is nil, causing the calling code to think there is no err and deref the null struct.

Might fix #7