diff --git a/pkg/controller/volume/persistentvolume/testing/testing.go b/pkg/controller/volume/persistentvolume/testing/testing.go index de83897057e..809a04f45ac 100644 --- a/pkg/controller/volume/persistentvolume/testing/testing.go +++ b/pkg/controller/volume/persistentvolume/testing/testing.go @@ -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 {