mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-17 15:56:39 +00:00
Remove unused variable
This commit is contained in:
@@ -141,8 +141,7 @@ func (s *Server) SendWithDeliveryCheck(ctx context.Context, msg *proto.Encrypted
|
||||
return &emptypb.Empty{}, nil
|
||||
}
|
||||
|
||||
msg, err := s.dispatcher.SendMessage(ctx, msg, true)
|
||||
if err != nil {
|
||||
if _, err := s.dispatcher.SendMessage(ctx, msg, true); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user