util: include request-IDs in all gRPC calls for the Controller

Snapshot procedures do not seem to contain the `Req-ID:` prefix in the
logs anymore (or weren't they there at all?) for some reason. This adds
them back.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2023-11-14 15:49:28 +01:00 committed by mergify[bot]
parent 63f48874ad
commit 0c13a70363

View File

@ -97,7 +97,7 @@ func (s *nonBlockingGRPCServer) serve(endpoint string, srv Servers) {
klog.Fatalf("Failed to listen: %v", err)
}
server := grpc.NewServer()
server := grpc.NewServer(NewMiddlewareServerOption(false))
s.server = server
if srv.IS != nil {