-
Notifications
You must be signed in to change notification settings - Fork 372
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 localhost exception #4252
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4252 +/- ##
==========================================
- Coverage 74.51% 73.95% -0.57%
==========================================
Files 339 339
Lines 22910 22914 +4
==========================================
- Hits 17072 16946 -126
- Misses 4513 4669 +156
+ Partials 1325 1299 -26
... and 18 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
@@ -291,13 +291,13 @@ func (h *Handler) Commands() map[string]command { | |||
|
|||
// authenticateWrapper wraps the command handler with the authentication check. | |||
// If anonymous is true, the command handler is executed without authentication. | |||
func (h *Handler) authenticateWrapper(cmd command) func(context.Context, *wire.OpMsg) (*wire.OpMsg, error) { | |||
func (h *Handler) authenticateWrapper(name string, cmd command) func(context.Context, *wire.OpMsg) (*wire.OpMsg, error) { |
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.
It is not quite clear what name
is, and the comment wasn't updated
@chilagrow this pull request has merge conflicts. |
Description
Closes #4236.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Milestone (Next
), Labels, Project and project's Sprint fields.