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
Moved duplicate operation to function #2255
Moved duplicate operation to function #2255
Conversation
LGTM, @stephanrotolante can you check linter failure please? |
Codecov ReportBase: 77.50% // Head: 77.51% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2255 +/- ##
=======================================
Coverage 77.50% 77.51%
=======================================
Files 87 87
Lines 9261 9264 +3
=======================================
+ Hits 7178 7181 +3
Misses 1649 1649
Partials 434 434
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@ashellunts yes, it looks like a commit lint error |
Can you fix that please? 😀 |
a197f3a
to
9b8ee61
Compare
@ashellunts updated! |
ok wth give me a sec |
331c5a7
to
16f1e8f
Compare
@ashellunts ok I believe I got it this time. And I validated the commit by running the commit lint script on my local. I didn't know when you commit you can format the message like this |
@ashellunts IMO this commit lint should run on the users machine via some pre-commit hook. I think these ci runner take to long for this super simple check What do you think? |
Personally I prefer not to have them in pre commit hook. When I do temporary, draft commits I don't want linter to block them. |
@stephanrotolante Have you used scripts from .github folder to run all checks locally? |
@ashellunts thank u for being patient with me |
@ashellunts I wish these workflow would run without someone having to trigger them |
yes, now I am dealing with a golang linter error |
I have found there is a helper script to install linter checks as pre-commit/pre-push |
It only happens for a first PR of a contributor, AFAIK. |
No functional changes
769c710
to
b1f92db
Compare
No worries at all! |
pionbot updated AUTHORS in another PR. |
Description
Nothing crazy here, I was exploring the code base and thought this would be an easy thing to refactor
Essentially I am moving some of the duplicated actions that Get/Put packet allocations from the Pool into reusable functions :)
Reference issue
Fixes #...