Skip to content

Commit 97d612a

Browse files
authored
Merge pull request #1669 from grafana/fix/contactpoint-resolve-message
fix: correctly set `disableResolveMessage` for contact points
2 parents e4dd317 + 64632b5 commit 97d612a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/grafanacontactpoint_controller.go

+1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ func (r *GrafanaContactPointReconciler) reconcileWithInstance(ctx context.Contex
198198
updatedCP.Name = contactPoint.Spec.Name
199199
updatedCP.Type = &contactPoint.Spec.Type
200200
updatedCP.Settings = contactPoint.Spec.Settings
201+
updatedCP.DisableResolveMessage = contactPoint.Spec.DisableResolveMessage
201202
_, err := cl.Provisioning.PutContactpoint(provisioning.NewPutContactpointParams().WithUID(applied.UID).WithBody(&updatedCP)) //nolint:errcheck
202203
if err != nil {
203204
return fmt.Errorf("updating contact point: %w", err)

0 commit comments

Comments
 (0)