Fix an error in comment

pull/564/head
houjun 2018-10-29 17:13:01 +08:00
parent 833dcc2be3
commit 1373936b17
1 changed files with 1 additions and 2 deletions

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