Merge pull request #66292 from vishen/pv_spelling_storageclassename

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

persistentvolume: fix spelling of storageClasseName

**What this PR does / why we need it**:
Fixed spelling of error in 'pv_controller', was 'storageClasseName', is
now 'storageClassName'.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
Just fixes the spelling in one of the errors returned in the persistent volume controller.

**Release note**:

```release-note

```
This commit is contained in:
Kubernetes Submit Queue 2018-07-18 05:24:04 -07:00 committed by GitHub
commit cef1880350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,7 @@ func checkVolumeSatisfyClaim(volume *v1.PersistentVolume, claim *v1.PersistentVo
requestedClass := v1helper.GetPersistentVolumeClaimClass(claim) requestedClass := v1helper.GetPersistentVolumeClaimClass(claim)
if v1helper.GetPersistentVolumeClass(volume) != requestedClass { if v1helper.GetPersistentVolumeClass(volume) != requestedClass {
return fmt.Errorf("storageClasseName does not match") return fmt.Errorf("storageClassName does not match")
} }
isMisMatch, err := checkVolumeModeMisMatches(&claim.Spec, &volume.Spec) isMisMatch, err := checkVolumeModeMisMatches(&claim.Spec, &volume.Spec)