Skip to content

Commit 0064349

Browse files
committed
fixtures.go: Removed unused parameter "client" in testVolumeContent()
1 parent 3739099 commit 0064349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/framework/volume/fixtures.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ func runVolumeTesterPod(client clientset.Interface, config TestConfig, podSuffix
528528
return clientPod, nil
529529
}
530530

531-
func testVolumeContent(f *framework.Framework, client clientset.Interface, pod *v1.Pod, fsGroup *int64, fsType string, tests []Test) {
531+
func testVolumeContent(f *framework.Framework, pod *v1.Pod, fsGroup *int64, fsType string, tests []Test) {
532532
ginkgo.By("Checking that text file contents are perfect.")
533533
for i, test := range tests {
534534
if test.Mode == v1.PersistentVolumeBlock {
@@ -581,7 +581,7 @@ func TestVolumeClient(f *framework.Framework, client clientset.Interface, config
581581

582582
}
583583
framework.ExpectNoError(e2epod.WaitForPodRunningInNamespace(client, clientPod))
584-
testVolumeContent(f, client, clientPod, fsGroup, fsType, tests)
584+
testVolumeContent(f, clientPod, fsGroup, fsType, tests)
585585
}
586586

587587
// InjectContent inserts index.html with given content into given volume. It does so by
@@ -621,7 +621,7 @@ func InjectContent(f *framework.Framework, client clientset.Interface, config Te
621621

622622
// Check that the data have been really written in this pod.
623623
// This tests non-persistent volume types
624-
testVolumeContent(f, client, injectorPod, fsGroup, fsType, tests)
624+
testVolumeContent(f, injectorPod, fsGroup, fsType, tests)
625625
}
626626

627627
// CreateGCEVolume creates PersistentVolumeSource for GCEVolume.

0 commit comments

Comments
 (0)