mirror of https://github.com/k3s-io/k3s
clean unused function
modified: pkg/controller/volume/persistentvolume/scheduler_binder_test.gopull/8/head
parent
a5c3c8d16c
commit
fd98d302c7
|
@ -383,11 +383,6 @@ func makeBinding(pvc *v1.PersistentVolumeClaim, pv *v1.PersistentVolume) *bindin
|
||||||
return &bindingInfo{pvc: pvc, pv: pv}
|
return &bindingInfo{pvc: pvc, pv: pv}
|
||||||
}
|
}
|
||||||
|
|
||||||
func makeStringPtr(str string) *string {
|
|
||||||
s := fmt.Sprintf("%v", str)
|
|
||||||
return &s
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestFindPodVolumes(t *testing.T) {
|
func TestFindPodVolumes(t *testing.T) {
|
||||||
scenarios := map[string]struct {
|
scenarios := map[string]struct {
|
||||||
// Inputs
|
// Inputs
|
||||||
|
|
Loading…
Reference in New Issue