Skip to content

Commit

Permalink
util: include request-IDs in all gRPC calls for the Controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
nixpanic committed Nov 16, 2023
1 parent b511fd8 commit 504fe09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/csi-common/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 504fe09

Please sign in to comment.