From 1373936b177414d45d219b7e62626aae017a5dc9 Mon Sep 17 00:00:00 2001 From: houjun Date: Mon, 29 Oct 2018 17:13:01 +0800 Subject: [PATCH] Fix an error in comment --- .../volume/persistentvolume/scheduler_assume_cache.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/controller/volume/persistentvolume/scheduler_assume_cache.go b/pkg/controller/volume/persistentvolume/scheduler_assume_cache.go index 0e4ade0faf..3231b37d1d 100644 --- a/pkg/controller/volume/persistentvolume/scheduler_assume_cache.go +++ b/pkg/controller/volume/persistentvolume/scheduler_assume_cache.go @@ -377,8 +377,7 @@ func (c *pvAssumeCache) ListPVs(storageClassName string) []*v1.PersistentVolume type PVCAssumeCache interface { AssumeCache - // GetPVC returns the PVC from the cache with the same - // namespace and the same name of the specified pod. + // GetPVC returns the PVC from the cache with given pvcKey. // pvcKey is the result of MetaNamespaceKeyFunc on PVC obj GetPVC(pvcKey string) (*v1.PersistentVolumeClaim, error) }