clean unused function

modified:   pkg/controller/volume/persistentvolume/scheduler_binder_test.go
pull/8/head
WanLinghao 2018-04-10 10:15:14 +08:00
parent a5c3c8d16c
commit fd98d302c7
1 changed files with 0 additions and 5 deletions

View File

@ -383,11 +383,6 @@ func makeBinding(pvc *v1.PersistentVolumeClaim, pv *v1.PersistentVolume) *bindin
return &bindingInfo{pvc: pvc, pv: pv}
}
func makeStringPtr(str string) *string {
s := fmt.Sprintf("%v", str)
return &s
}
func TestFindPodVolumes(t *testing.T) {
scenarios := map[string]struct {
// Inputs