driver: chore
@@ -172,7 +172,7 @@ func (s *nodeService) nodePublishFilesystemVolume(req *csi.NodePublishVolumeRequ
accessMode := req.GetVolumeCapability().GetAccessMode().GetMode()
if accessMode != csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER {
modeName := csi.VolumeCapability_AccessMode_Mode_name[int32(accessMode)]
- return status.Errorf(codes.FailedPrecondition, "unsupported access mode: %s", modeName)
+ return status.Errorf(codes.FailedPrecondition, "unsupported access mode: %s (%d)", modeName, accessMode)
}
// Find lv and create a block device with it
