Unverified Commit 3faeb7ba authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #70360 from houjun41544/20181029-1

Fix an error in comment
parents b385742d 1373936b
...@@ -377,8 +377,7 @@ func (c *pvAssumeCache) ListPVs(storageClassName string) []*v1.PersistentVolume ...@@ -377,8 +377,7 @@ func (c *pvAssumeCache) ListPVs(storageClassName string) []*v1.PersistentVolume
type PVCAssumeCache interface { type PVCAssumeCache interface {
AssumeCache AssumeCache
// GetPVC returns the PVC from the cache with the same // GetPVC returns the PVC from the cache with given pvcKey.
// namespace and the same name of the specified pod.
// pvcKey is the result of MetaNamespaceKeyFunc on PVC obj // pvcKey is the result of MetaNamespaceKeyFunc on PVC obj
GetPVC(pvcKey string) (*v1.PersistentVolumeClaim, error) GetPVC(pvcKey string) (*v1.PersistentVolumeClaim, error)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment