mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
clean unused function
modified: pkg/controller/volume/persistentvolume/scheduler_binder_test.go
This commit is contained in:
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
Block a user