mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	Revert "add number measurement for bound/unbound pv/pvc"
This commit is contained in:
		@@ -263,11 +263,6 @@ func createPV(c clientset.Interface, pv *v1.PersistentVolume) (*v1.PersistentVol
 | 
			
		||||
	return pv, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// create the PV resource. Fails test on error.
 | 
			
		||||
func CreatePV(c clientset.Interface, pv *v1.PersistentVolume) (*v1.PersistentVolume, error) {
 | 
			
		||||
	return createPV(c, pv)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// create the PVC resource. Fails test on error.
 | 
			
		||||
func CreatePVC(c clientset.Interface, ns string, pvc *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) {
 | 
			
		||||
	pvc, err := c.CoreV1().PersistentVolumeClaims(ns).Create(pvc)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user