Skip to content

Commit

Permalink
fix: upper
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed Nov 6, 2021
1 parent 7b154c8 commit 75c7b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/grpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ func (s *Server) handleStream(t transport.ServerTransport, stream *transport.Str
}
service := sm[:pos]
method := sm[pos+1:]
method = strings.ToUpper(string(method[1])) + method[1:]
method = strings.ToUpper(string(method[0])) + method[1:]

srv, knownService := s.services[service]
if knownService {
Expand Down

0 comments on commit 75c7b0e

Please sign in to comment.