Skip to content

Commit d816230

Browse files
authored
Merge pull request #1157 from umagnus/correct_storage_identity
doc: fix storage identity typo
2 parents c53028e + c752b3a commit d816230

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/blob/blob.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const (
8080
storageSPNClientIDField = "azurestoragespnclientid"
8181
storageSPNTenantIDField = "azurestoragespntenantid"
8282
storageAuthTypeField = "azurestorageauthtype"
83-
storageIentityClientIDField = "azurestorageidentityclientid"
83+
storageIdentityClientIDField = "azurestorageidentityclientid"
8484
storageIdentityObjectIDField = "azurestorageidentityobjectid"
8585
storageIdentityResourceIDField = "azurestorageidentityresourceid"
8686
msiEndpointField = "msiendpoint"
@@ -415,7 +415,7 @@ func (d *Driver) GetAuthEnv(ctx context.Context, volumeID, protocol string, attr
415415
case storageAuthTypeField:
416416
azureStorageAuthType = v
417417
authEnv = append(authEnv, "AZURE_STORAGE_AUTH_TYPE="+v)
418-
case storageIentityClientIDField:
418+
case storageIdentityClientIDField:
419419
authEnv = append(authEnv, "AZURE_STORAGE_IDENTITY_CLIENT_ID="+v)
420420
case storageIdentityObjectIDField:
421421
authEnv = append(authEnv, "AZURE_STORAGE_IDENTITY_OBJECT_ID="+v)

pkg/blob/controllerserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest)
174174
containerNameReplaceMap[pvNameMetadata] = v
175175
case serverNameField:
176176
case storageAuthTypeField:
177-
case storageIentityClientIDField:
177+
case storageIdentityClientIDField:
178178
case storageIdentityObjectIDField:
179179
case storageIdentityResourceIDField:
180180
case msiEndpointField:

pkg/blob/controllerserver_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ func TestCreateVolume(t *testing.T) {
520520
mp[containerNameField] = "unit-test"
521521
mp[mountPermissionsField] = "0750"
522522
mp[storageAuthTypeField] = "msi"
523-
mp[storageIentityClientIDField] = "msi"
523+
mp[storageIdentityClientIDField] = "msi"
524524
mp[storageIdentityObjectIDField] = "msi"
525525
mp[storageIdentityResourceIDField] = "msi"
526526
mp[msiEndpointField] = "msi"

0 commit comments

Comments
 (0)