Skip to content

Commit 7b51b66

Browse files
committed
clean up parm in func
1 parent a27bb2d commit 7b51b66

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/e2e/testsuites/dynamically_provisioned_inline_volume.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (t *DynamicallyProvisionedInlineVolumeTest) Run(client clientset.Interface,
3939
for _, pod := range t.Pods {
4040
var tpod *TestPod
4141
var cleanup []func()
42-
tpod, cleanup = pod.SetupWithCSIInlineVolumes(client, namespace, t.CSIDriver, t.SecretName, t.ContainerName, t.ReadOnly)
42+
tpod, cleanup = pod.SetupWithCSIInlineVolumes(client, namespace, t.SecretName, t.ContainerName, t.ReadOnly)
4343

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

test/e2e/testsuites/specs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ type DataSource struct {
8686
Name string
8787
}
8888

89-
func (pod *PodDetails) SetupWithCSIInlineVolumes(client clientset.Interface, namespace *v1.Namespace, _ driver.DynamicPVTestDriver, secretName, shareName string, readOnly bool) (*TestPod, []func()) {
89+
func (pod *PodDetails) SetupWithCSIInlineVolumes(client clientset.Interface, namespace *v1.Namespace, secretName, shareName string, readOnly bool) (*TestPod, []func()) {
9090
tpod := NewTestPod(client, namespace, pod.Cmd)
9191
cleanupFuncs := make([]func(), 0)
9292
for n, v := range pod.Volumes {

test/utils/azure/azure_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func getCloudConfig(env azure.Environment) cloud.Configuration {
134134
}
135135
}
136136

137-
func getClient(env azure.Environment, subscriptionID, tenantID string, cred *azidentity.ClientSecretCredential, scope string) *Client {
137+
func getClient(env azure.Environment, subscriptionID, _ string, cred *azidentity.ClientSecretCredential, scope string) *Client {
138138
c := &Client{
139139
environment: env,
140140
subscriptionID: subscriptionID,

0 commit comments

Comments
 (0)