mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 00:01:48 +08:00
chore(api): remove commented endpoints
This commit is contained in:
@ -248,9 +248,7 @@ func Register(r *macaron.Macaron) {
|
|||||||
r.Group("/alerts", func() {
|
r.Group("/alerts", func() {
|
||||||
r.Post("/test", bind(dtos.AlertTestCommand{}), wrap(AlertTest))
|
r.Post("/test", bind(dtos.AlertTestCommand{}), wrap(AlertTest))
|
||||||
//r.Get("/:alertId/states", wrap(GetAlertStates))
|
//r.Get("/:alertId/states", wrap(GetAlertStates))
|
||||||
//r.Put("/:alertId/state", bind(m.UpdateAlertStateCommand{}), wrap(PutAlertState))
|
|
||||||
r.Get("/:alertId", ValidateOrgAlert, wrap(GetAlert))
|
r.Get("/:alertId", ValidateOrgAlert, wrap(GetAlert))
|
||||||
//r.Delete("/:alertId", ValidateOrgAlert, wrap(DelAlert)) disabled until we know how to handle it dashboard updates
|
|
||||||
r.Get("/", wrap(GetAlerts))
|
r.Get("/", wrap(GetAlerts))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user