8000 tracee-ebpf: refactor to avoid two strings.Split by josedonizetti · Pull Request #859 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tracee-ebpf: refactor to avoid two strings.Split #859

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

Merged

Conversation

josedonizetti
Copy link
Contributor

Refactor to avoid doing strings.Split(k, ".") twice. Let me know if you okay with simple refactorings like this.

Copy link
Contributor
@grantseltzer grantseltzer left a comment

Choose a reason for hiding this comment

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

Hi @josedonizetti, thanks for catching this! Just the one comment on it.

And we're certainly okay with simple refactors, it's much appreciated!

@josedonizetti josedonizetti force-pushed the refactor-avoid-two-splits branch from 1518359 to 62c22aa Compare August 4, 2021 13:15
Copy link
Contributor
@grantseltzer grantseltzer left a comment

Choose a reason for hiding this comment

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

LGTM!

@grantseltzer grantseltzer merged commit 5ce9ff4 into aquasecurity:main Aug 4, 2021
@grantseltzer
Copy link
Contributor

Thank you @josedonizetti!

@josedonizetti josedonizetti deleted the refactor-avoid-two-splits branch August 4, 2021 15:15
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.

2 participants
0