mirror of https://github.com/k3s-io/k3s
Fix an error in comment
parent
833dcc2be3
commit
1373936b17
|
@ -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