Skip to content

Commit b61d0d3

Browse files
committed
fix go lint
1 parent e7bf9b3 commit b61d0d3

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
@@ -572,14 +572,14 @@ func (d *Driver) GetAuthEnv(ctx context.Context, volumeID, protocol string, attr
572572
if clientID != "" {
573573
klog.V(2).Infof("clientID(%s) is specified, use workload identity for blobfuse auth", clientID)
574574

575-
workload_identity_token, err := parseServiceAccountToken(serviceAccountToken)
575+
workloadIdentityToken, err := parseServiceAccountToken(serviceAccountToken)
576576
if err != nil {
577577
return rgName, accountName, accountKey, containerName, authEnv, err
578578
}
579579

580580
authEnv = append(authEnv, "AZURE_STORAGE_SPN_CLIENT_ID="+clientID)
581581
authEnv = append(authEnv, "AZURE_STORAGE_SPN_TENANT_ID="+tenantID)
582-
authEnv = append(authEnv, "WORKLOAD_IDENTITY_TOKEN="+workload_identity_token)
582+
authEnv = append(authEnv, "WORKLOAD_IDENTITY_TOKEN="+workloadIdentityToken)
583583

584584
return rgName, accountName, accountKey, containerName, authEnv, err
585585
}

0 commit comments

Comments
 (0)