fix golint issues in zrpc (#531)
This commit is contained in:
@@ -32,6 +32,7 @@ var (
|
||||
})
|
||||
)
|
||||
|
||||
// UnaryPrometheusInterceptor returns a func that reports to the prometheus server.
|
||||
func UnaryPrometheusInterceptor() grpc.UnaryServerInterceptor {
|
||||
return func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (
|
||||
interface{}, error) {
|
||||
|
||||
Reference in New Issue
Block a user