Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler committed Sep 24, 2024
1 parent 551769f commit 2d88881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func (d *driver) ControllerPublishVolume(ctx context.Context, req *csi.Controlle
}
deviceName, err := validateDeviceName(volume, machine, volumeAttachmentName)
if err != nil {
return nil, status.Errorf(codes.Internal, err.Error())
return nil, status.Errorf(codes.Internal, "Failed to validate device name for volume attachment %s: %v", volumeAttachmentName, err)
}

klog.InfoS("Published volume on node", "Volume", req.GetVolumeId(), "Node", req.GetNodeId())
Expand Down

0 comments on commit 2d88881

Please sign in to comment.