Skip to content

Commit

Permalink
is master does not need authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
chilagrow committed Feb 15, 2024
1 parent 70f0183 commit 470ca14
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/handler/msg_ismaster.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ import (

// MsgIsMaster implements `isMaster` command.
func (h *Handler) MsgIsMaster(ctx context.Context, msg *wire.OpMsg) (*wire.OpMsg, error) {
if err := h.authenticate(ctx, msg); err != nil {
return nil, err
}

doc, err := msg.Document()
if err != nil {
return nil, err
Expand Down

0 comments on commit 470ca14

Please sign in to comment.