Revert "add number measurement for bound/unbound pv/pvc"

This commit is contained in:
Hemant Kumar
2018-02-07 21:31:01 -05:00
committed by GitHub
parent 07e849c986
commit f94a81ef19
7 changed files with 0 additions and 413 deletions

View File

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