Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix case of userAssignedIdentityID in JSON serialization #2268

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controllers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ type CloudProviderConfig struct {
MaximumLoadBalancerRuleCount int `json:"maximumLoadBalancerRuleCount"`
UseManagedIdentityExtension bool `json:"useManagedIdentityExtension"`
UseInstanceMetadata bool `json:"useInstanceMetadata"`
UserAssignedIdentityID string `json:"userAssignedIdentityId,omitempty"`
UserAssignedIdentityID string `json:"userAssignedIdentityID,omitempty"`
CloudProviderRateLimitConfig
BackOffConfig
}
Expand Down
4 changes: 2 additions & 2 deletions controllers/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ const (
"maximumLoadBalancerRuleCount": 250,
"useManagedIdentityExtension": true,
"useInstanceMetadata": true,
"userAssignedIdentityId": "foobar"
"userAssignedIdentityID": "foobar"
}`
userAssignedWorkerNodeCloudConfig = `{
"cloud": "AzurePublicCloud",
Expand All @@ -561,7 +561,7 @@ const (
"maximumLoadBalancerRuleCount": 250,
"useManagedIdentityExtension": true,
"useInstanceMetadata": true,
"userAssignedIdentityId": "foobar"
"userAssignedIdentityID": "foobar"
}`
spCustomVnetControlPlaneCloudConfig = `{
"cloud": "AzurePublicCloud",
Expand Down