diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-08-19 21:07:46 +0300 |
---|---|---|
committer | Paul Okstad <pokstad@gitlab.com> | 2019-08-19 21:07:46 +0300 |
commit | a27cd1de1ba38d272db5950acd42535dacb9ae4e (patch) | |
tree | ecad11c6bfdd1bfa146800fe5b6bd33f732d1e78 /internal/praefect/server.go | |
parent | d7d0da267489ace1a55668c11eb44dd37e1bd3e6 (diff) |
Include process PID in log messages
Diffstat (limited to 'internal/praefect/server.go')
-rw-r--r-- | internal/praefect/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/server.go b/internal/praefect/server.go index 766123584..3a7c0fabe 100644 --- a/internal/praefect/server.go +++ b/internal/praefect/server.go @@ -27,7 +27,7 @@ type Server struct { // NewServer returns an initialized praefect gPRC proxy server configured // with the provided gRPC server options -func NewServer(c *Coordinator, repl ReplMgr, grpcOpts []grpc.ServerOption, l *logrus.Logger) *Server { +func NewServer(c *Coordinator, repl ReplMgr, grpcOpts []grpc.ServerOption, l *logrus.Entry) *Server { grpcOpts = append(grpcOpts, proxyRequiredOpts(c.streamDirector)...) grpcOpts = append(grpcOpts, []grpc.ServerOption{ grpc.StreamInterceptor(grpc_middleware.ChainStreamServer( |