Closed darkowlzz closed 2 months ago
@darkowlzz thanks for taking the time to submit an issue. It is suppose to be 100% backwards compatible. It also should be handling it just fine as a string or a bool, at least it was at one point.
@darkowlzz looks like the current code base for rebuy-de expects a string as well. Although it's not doing a cast so maybe it accepts the bool value just fine.
I do think that it should be a bool though, maybe I should change it to support both for the short term.
:tada: This issue has been resolved in version 0.15.1 :tada:
The release is available on GitHub release :rocket:
While migrating from rebuy-de/aws-nuke to libnuke in https://github.com/fluxcd/test-infra/pull/39, I encountered a panic due to the invert filter at https://github.com/ekristen/libnuke/blob/v0.15.0/pkg/filter/filter.go#L210 for a boolean value. Changing the invert value from boolean to string resolves the issue.
It may have been an intentional incompatibility. But since I couldn't find any mention of it, thought of reporting it. Please close the issue if this is known and intentional.
Thanks for a nice alternative tool and library :slightly_smiling_face: