From e72533d48f435e820caa0b9d948a392b6964c495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=BC=C3=9F?= Date: Mon, 9 Sep 2024 12:38:31 +0200 Subject: [PATCH] fix: correctly set `disableResolveMessage` for contact points fixes: #1644 --- controllers/grafanacontactpoint_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/grafanacontactpoint_controller.go b/controllers/grafanacontactpoint_controller.go index ff5cf375a..4dfb318a7 100644 --- a/controllers/grafanacontactpoint_controller.go +++ b/controllers/grafanacontactpoint_controller.go @@ -198,6 +198,7 @@ func (r *GrafanaContactPointReconciler) reconcileWithInstance(ctx context.Contex updatedCP.Name = contactPoint.Spec.Name updatedCP.Type = &contactPoint.Spec.Type updatedCP.Settings = contactPoint.Spec.Settings + updatedCP.DisableResolveMessage = contactPoint.Spec.DisableResolveMessage _, err := cl.Provisioning.PutContactpoint(provisioning.NewPutContactpointParams().WithUID(applied.UID).WithBody(&updatedCP)) //nolint:errcheck if err != nil { return fmt.Errorf("updating contact point: %w", err)