Skip to content

Commit

Permalink
r/kubernetes_cluster: parsing the log_analytics_workspace_id respon…
Browse files Browse the repository at this point in the history
…se insensitively to fix #20478
  • Loading branch information
tombuildsstuff committed Feb 15, 2023
1 parent 5e72621 commit c4ae288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/containers/kubernetes_addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func expandKubernetesAddOns(d *pluginsdk.ResourceData, input map[string]interfac
config := make(map[string]string)

if workspaceID, ok := value["log_analytics_workspace_id"]; ok && workspaceID != "" {
lawid, err := workspaces.ParseWorkspaceID(workspaceID.(string))
lawid, err := workspaces.ParseWorkspaceIDInsensitively(workspaceID.(string))
if err != nil {
return nil, fmt.Errorf("parsing Log Analytics Workspace ID: %+v", err)
}
Expand Down

0 comments on commit c4ae288

Please sign in to comment.