cluster-api-provider-aws
cluster-api-provider-aws copied to clipboard
:bug: Return on wrong type in event filters
trafficstars
What type of PR is this?
/kind bug
What this PR does / why we need it:
First of all, i know the bugfix is fixing a case which theoretically doesn't exists. But for correctness I think it makes sense to fix these type conversions. Otherwise there would be some panic, which also makes sense.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:
- [X] squashed commits
- [ ] includes documentation
- [ ] includes emojis
- [ ] adds unit tests
- [ ] adds or updates e2e tests
Release note: