From e06888da6a781afb2f3f0235fa3d98e2474098ed Mon Sep 17 00:00:00 2001 From: Anna Blendermann Date: Mon, 21 Nov 2022 17:37:36 -0500 Subject: [PATCH] Fix error msg --- controller/aks-cluster-config-handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/aks-cluster-config-handler.go b/controller/aks-cluster-config-handler.go index 81279e66..ba4729a0 100644 --- a/controller/aks-cluster-config-handler.go +++ b/controller/aks-cluster-config-handler.go @@ -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)