Skip to content

Commit

Permalink
Merge pull request #68 from annablender/fix-oms-profile-panic2
Browse files Browse the repository at this point in the history
Fix error msg
  • Loading branch information
Anna Blendermann authored Nov 22, 2022
2 parents eec3c30 + e06888d commit 911b92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/aks-cluster-config-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ func BuildUpstreamClusterState(ctx context.Context, secretsCache wranglerv1.Secr

name := matchWorkspaceName.FindStringSubmatch(to.String(logAnalyticsWorkspaceResourceID))
if name == nil {
return nil, fmt.Errorf("OMS Agent configuration workspace group was not found")
return nil, fmt.Errorf("OMS Agent configuration workspace name was not found")
}
logAnalyticsWorkspaceName := name[1]
upstreamSpec.LogAnalyticsWorkspaceName = to.StringPtr(logAnalyticsWorkspaceName)
Expand Down

0 comments on commit 911b92a

Please sign in to comment.