Skip to content

Commit fbda489

Browse files
committed
clean up parm in func
1 parent bdc1426 commit fbda489

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
@@ -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
@@ -87,7 +87,7 @@ type DataSource struct {
8787
Name string
8888
}
8989

90-
func (pod *PodDetails) SetupWithCSIInlineVolumes(client clientset.Interface, namespace *v1.Namespace, _ driver.DynamicPVTestDriver, secretName, shareName string, readOnly bool) (*TestPod, []func(context.Context)) {
90+
func (pod *PodDetails) SetupWithCSIInlineVolumes(client clientset.Interface, namespace *v1.Namespace, secretName, shareName string, readOnly bool) (*TestPod, []func(context.Context)) {
9191
tpod := NewTestPod(client, namespace, pod.Cmd)
9292
cleanupFuncs := make([]func(ctx context.Context), 0)
9393
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)