-
Notifications
You must be signed in to change notification settings - Fork 76
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
Remove blank when all parameters are not used and Add ErrJobFuncNotFound #1879
Remove blank when all parameters are not used and Add ErrJobFuncNotFound #1879
Conversation
Signed-off-by: vankichi <kyukawa315@gmail.com>
internal/errors/worker.go
Outdated
ErrJobFuncNotFound = func() error { | ||
return New("JobFunc is not found") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[CHATOPS:HELP] ChatOps commands.
|
Codecov ReportBase: 50.23% // Head: 30.37% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1879 +/- ##
===========================================
- Coverage 50.23% 30.37% -19.87%
===========================================
Files 231 365 +134
Lines 13464 33763 +20299
===========================================
+ Hits 6764 10254 +3490
- Misses 6499 23094 +16595
- Partials 201 415 +214
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. |
Co-authored-by: Kevin Diu <kevindiujp@gmail.com>
Deploying with Cloudflare Pages
|
Signed-off-by: vankichi <kyukawa315@gmail.com>
Signed-off-by: vankichi <kyukawa315@gmail.com>
Signed-off-by: vankichi <kyukawa315@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…paramteres-are-not-used-and-add-ErrJobNotFound-function
Description:
I have removed the blank
_
when all the parameters are not used in the target function or method.And more, I have added the
ErrJobFuncNotFound
to return thenot found error
at theinternal/worker/queue.go
.Related Issue:
Versions:
Checklist:
Special notes for your reviewer: