diff --git a/api/server/handlers/cluster/notify_resolved_incident.go b/api/server/handlers/cluster/notify_resolved_incident.go index e2e5f20aa8..3a7537f901 100644 --- a/api/server/handlers/cluster/notify_resolved_incident.go +++ b/api/server/handlers/cluster/notify_resolved_incident.go @@ -36,8 +36,13 @@ func NewNotifyResolvedIncidentHandler( } func (c *NotifyResolvedIncidentHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { + project, _ := r.Context().Value(types.ProjectScope).(*models.Project) cluster, _ := r.Context().Value(types.ClusterScope).(*models.Cluster) + if project.GetFeatureFlag(models.ValidateApplyV2, c.Config().LaunchDarklyClient) { + return + } + request := &types.Incident{} if ok := c.DecodeAndValidate(w, r, request); !ok {