Skip to content

Commit 5c36cb7

Browse files
cvvzk8s-infra-cherrypick-robot
authored andcommitted
fix go lint
1 parent 8a838ec commit 5c36cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/blob/blob.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,14 +575,14 @@ func (d *Driver) GetAuthEnv(ctx context.Context, volumeID, protocol string, attr
575575
if clientID != "" {
576576
klog.V(2).Infof("clientID(%s) is specified, use workload identity for blobfuse auth", clientID)
577577

578-
workload_identity_token, err := parseServiceAccountToken(serviceAccountToken)
578+
workloadIdentityToken, err := parseServiceAccountToken(serviceAccountToken)
579579
if err != nil {
580580
return rgName, accountName, accountKey, containerName, authEnv, err
581581
}
582582

583583
authEnv = append(authEnv, "AZURE_STORAGE_SPN_CLIENT_ID="+clientID)
584584
authEnv = append(authEnv, "AZURE_STORAGE_SPN_TENANT_ID="+tenantID)
585-
authEnv = append(authEnv, "WORKLOAD_IDENTITY_TOKEN="+workload_identity_token)
585+
authEnv = append(authEnv, "WORKLOAD_IDENTITY_TOKEN="+workloadIdentityToken)
586586

587587
return rgName, accountName, accountKey, containerName, authEnv, err
588588
}

0 commit comments

Comments
 (0)