returnfmt.Errorf("Class of volume[%s] is not the same as claim[%v]",volume.Name,claimToClaimKey(claim))
returnfmt.Errorf("Class of volume[%s] is not the same as claim[%v]",volume.Name,claimToClaimKey(claim))
}
}
ifisMisMatch{
returnfmt.Errorf("VolumeMode[%v] of volume[%s] is incompatible with VolumeMode[%v] of claim[%v]",volume.Spec.VolumeMode,volume.Name,claim.Spec.VolumeMode,claim.Name)