Remove debugging log

pull/1201/head
Chris Goller 2017-04-05 23:18:40 -05:00
parent 21c1c90ca3
commit 6b33738f75
1 changed files with 0 additions and 4 deletions

View File

@ -3,7 +3,6 @@ package server
import (
"encoding/json"
"fmt"
"log"
"net/http"
"net/url"
@ -570,7 +569,6 @@ func (h *Service) KapacitorRulesGet(w http.ResponseWriter, r *http.Request) {
Error(w, http.StatusInternalServerError, err.Error(), h.Logger)
return
}
statuses, err := c.AllStatus(ctx)
if err != nil {
Error(w, http.StatusInternalServerError, err.Error(), h.Logger)
@ -644,8 +642,6 @@ func (h *Service) KapacitorRulesID(w http.ResponseWriter, r *http.Request) {
}
res := newAlertResponse(rule, rule.TICKScript, c.Href(rule.ID), c.HrefOutput(rule.ID), status, srv.SrcID, srv.ID)
octets, _ := json.MarshalIndent(res, "", " ")
log.Printf("%s", string(octets))
encodeJSON(w, http.StatusOK, res, h.Logger)
}