fix some typos in testing.go

This commit is contained in:
AllenZMC 2019-08-14 20:53:24 +08:00 committed by GitHub
parent 34791349d6
commit d266b79a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -557,8 +557,8 @@ func (r *VolumeReactor) AddClaimBoundToVolume(claim *v1.PersistentVolumeClaim) {
}
}
// MarkVolumeAvaiable marks a PV available by name.
func (r *VolumeReactor) MarkVolumeAvaiable(name string) {
// MarkVolumeAvailable marks a PV available by name.
func (r *VolumeReactor) MarkVolumeAvailable(name string) {
r.lock.Lock()
defer r.lock.Unlock()
if volume, ok := r.volumes[name]; ok {