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 <[email protected]>
  • Loading branch information
nixpanic committed Nov 14, 2023
1 parent 9f7d274 commit 0f0364d
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 0f0364d

Please sign in to comment.