Skip to content

Commit

Permalink
Update cmd/plugin/node_server.go
Browse files Browse the repository at this point in the history
Co-authored-by: Mugdha Adhav <[email protected]>
  • Loading branch information
gesarki and mugdha-adhav authored Jan 11, 2024
1 parent 3e0630e commit c7233f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/plugin/node_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type NodeServer struct {
func (n NodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (resp *csi.NodePublishVolumeResponse, err error) {
u, _ := uuid.NewRandom()
valuesLogger := klog.LoggerWithValues(klog.NewKlogr(), "pod-name", req.VolumeContext["pod-name"], "namespace", req.VolumeContext["namespace"], "uid", req.VolumeContext["uid"], "request-id", u.String())
valuesLogger.Info("Incoming mount request", "request string", req.String())
valuesLogger.Info("Incoming NodePublishVolume request", "request string", req.String())
if len(req.VolumeId) == 0 {
err = status.Error(codes.InvalidArgument, "VolumeId is missing")
return
Expand Down

0 comments on commit c7233f2

Please sign in to comment.