mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #62324 from WanLinghao/unused_function_clean
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. unused function clean **What this PR does / why we need it**: clean unused function in file pkg/controller/volume/persistentvolume/scheduler_binder_test.go **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
39e9d1b483
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user