Merge pull request #70360 from houjun41544/20181029-1

Fix an error in comment
This commit is contained in:
k8s-ci-robot 2018-11-28 23:31:40 -08:00 committed by GitHub
commit 3faeb7ba6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}