Skip to content

Commit a86df7e

Browse files
umagnusk8s-infra-cherrypick-robot
authored andcommitted
clean up parm in func
1 parent 84ba8b9 commit a86df7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/e2e/testsuites/dynamically_provisioned_inline_volume.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (t *DynamicallyProvisionedInlineVolumeTest) Run(ctx context.Context, client
4141
for _, pod := range t.Pods {
4242
var tpod *TestPod
4343
var cleanup []func(context.Context)
44-
tpod, cleanup = pod.SetupWithCSIInlineVolumes(client, namespace, t.CSIDriver, t.SecretName, t.ContainerName, t.ReadOnly)
44+
tpod, cleanup = pod.SetupWithCSIInlineVolumes(client, namespace, t.SecretName, t.ContainerName, t.ReadOnly)
4545

4646
// defer must be called here for resources not get removed before using them
4747
for i := range cleanup {

test/e2e/testsuites/specs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type DataSource struct {
9191
Name string
9292
}
9393

94-
func (pod *PodDetails) SetupWithCSIInlineVolumes(client clientset.Interface, namespace *v1.Namespace, _ driver.DynamicPVTestDriver, secretName, shareName string, readOnly bool) (*TestPod, []func(context.Context)) {
94+
func (pod *PodDetails) SetupWithCSIInlineVolumes(client clientset.Interface, namespace *v1.Namespace, secretName, shareName string, readOnly bool) (*TestPod, []func(context.Context)) {
9595
tpod := NewTestPod(client, namespace, pod.Cmd)
9696
cleanupFuncs := make([]func(ctx context.Context), 0)
9797
for n, v := range pod.Volumes {

0 commit comments

Comments
 (0)