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

chore: rename Context to EventContext #3716

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Nov 29, 2023

1. Explain what the PR does

00ffa33 chore: rename Context to EventContext

It aligns with the name of the type in the ebpf land, `event_context`
avoiding confusion with the `context.Context` type.
It also updates the respective comments.

2. Explain how to test it

3. Other comments

Copy link
Contributor

@rafaeldtinoco rafaeldtinoco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but change back the comment as I said in the code, please.

@geyslan geyslan force-pushed the event-context-rename branch 2 times, most recently from 94d8fc9 to 00ffa33 Compare November 29, 2023 15:25
@geyslan
Copy link
Member Author

geyslan commented Nov 29, 2023

I made a few more renames focused on avoiding confusion with context.Context.

It aligns with the name of the type in the ebpf land, `event_context`
avoiding confusion with the `context.Context` type.
It also updates the respective comments.
@rafaeldtinoco rafaeldtinoco merged commit 8cc4c53 into aquasecurity:main Nov 29, 2023
30 checks passed
@geyslan geyslan deleted the event-context-rename branch December 1, 2023 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants