mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
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:
parent
63f48874ad
commit
0c13a70363
@ -97,7 +97,7 @@ func (s *nonBlockingGRPCServer) serve(endpoint string, srv Servers) {
|
|||||||
klog.Fatalf("Failed to listen: %v", err)
|
klog.Fatalf("Failed to listen: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
server := grpc.NewServer()
|
server := grpc.NewServer(NewMiddlewareServerOption(false))
|
||||||
s.server = server
|
s.server = server
|
||||||
|
|
||||||
if srv.IS != nil {
|
if srv.IS != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user