ekristen / aws-nuke

Remove all the resources from an AWS account
https://ekristen.github.io/aws-nuke/
MIT License
32 stars 6 forks source link

fix: nil pointer error with settings #200

Closed ekristen closed 2 weeks ago

ekristen commented 2 weeks ago

This addresses an issue where if a setting isn't set, it can cause an nil pointer the way the setting pkg was written. A quick fix and release of https://github.com/ekristen/libnuke/releases/tag/v0.17.1 to add type returning functions avoids the nil pointer issue.

The rest of this PR is updating the setting calls to use the new GetBool vs Get to remove the possibility of nil pointer, this will specifically address the nil pointer that occurred in issue #199 with respect to EC2Image

Resolves #199

ekristen commented 2 weeks ago

:tada: This PR is included in version 3.2.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: