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

eventcache: remove event.internal nil check for exec events #297

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

willfindlay
Copy link
Contributor

It was rightly pointed out that event.internal not being nil is an invariant here. If this
ever changes accidentally we would probably want to know and in any case the panic would
happen much earlier in the code path. So let's remove the nil check here.

Signed-off-by: William Findlay [email protected]

It was rightly pointed out that event.internal not being nil is an invariant here. If this
ever changes accidentally we would probably want to know and in any case the panic would
happen much earlier in the code path. So let's remove the nil check here.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay requested a review from jrfastab August 8, 2022 17:52
@willfindlay willfindlay requested a review from a team as a code owner August 8, 2022 17:52
@jrfastab jrfastab merged commit b3d624f into main Aug 9, 2022
@jrfastab jrfastab deleted the pr/willfindlay/eventcache-assumption branch August 9, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants