Skip to content

Commit 21fb0d0

Browse files
committed
fix go lint
1 parent 423f9fe commit 21fb0d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/blob/blob.go

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

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

584584
authEnv = append(authEnv, "AZURE_STORAGE_SPN_CLIENT_ID="+clientID)
585585
authEnv = append(authEnv, "AZURE_STORAGE_SPN_TENANT_ID="+tenantID)
586-
authEnv = append(authEnv, "WORKLOAD_IDENTITY_TOKEN="+workload_identity_token)
586+
authEnv = append(authEnv, "WORKLOAD_IDENTITY_TOKEN="+workloadIdentityToken)
587587

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

0 commit comments

Comments
 (0)