From 1fe20557437385654ba5cd74e94dda946a56fd62 Mon Sep 17 00:00:00 2001 From: bergquist Date: Tue, 10 May 2016 15:02:11 +0200 Subject: [PATCH] tech(alerting): disable DEL for alert rules in the api --- pkg/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/api.go b/pkg/api/api.go index d4b450720c2..b7e2ef95a7e 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -245,7 +245,7 @@ func Register(r *macaron.Macaron) { r.Put("/:alertId/state", bind(m.UpdateAlertStateCommand{}), wrap(PutAlertState)) r.Get("/:alertId", ValidateOrgAlert, wrap(GetAlert)) - r.Delete("/:alertId", ValidateOrgAlert, wrap(DelAlert)) + //r.Delete("/:alertId", ValidateOrgAlert, wrap(DelAlert)) disabled until we know how to handle it dashboard updates r.Get("/", wrap(GetAlerts)) })