From d266b79a39930a271681ee994309ed2ef931437d Mon Sep 17 00:00:00 2001 From: AllenZMC Date: Wed, 14 Aug 2019 20:53:24 +0800 Subject: [PATCH] fix some typos in testing.go --- pkg/controller/volume/persistentvolume/testing/testing.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {