mirror of
				https://github.com/grafana/grafana.git
				synced 2025-02-25 18:55:37 -06: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.Post("/test", bind(dtos.AlertTestCommand{}), wrap(AlertTest))
 | 
			
		||||
			//r.Get("/:alertId/states", wrap(GetAlertStates))
 | 
			
		||||
			//r.Put("/:alertId/state", bind(m.UpdateAlertStateCommand{}), wrap(PutAlertState))
 | 
			
		||||
			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))
 | 
			
		||||
		})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user