mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #70360 from houjun41544/20181029-1
Fix an error in comment
This commit is contained in:
commit
3faeb7ba6f
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user