mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-09-15 11:11:47 +00:00
options: fix interceptors, add defaulter and recovery
This commit is contained in:
@@ -133,11 +133,9 @@ func (s *recvWrapper) RecvMsg(m interface{}) error {
|
||||
if err := s.ServerStream.RecvMsg(m); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := s.i.validate(m); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user