From 4018904ac157e37950c616260886759c78bf1895 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Sat, 15 Sep 2018 15:24:34 -0700 Subject: [PATCH] remove logging from notifier --- notifiers/slack.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/notifiers/slack.go b/notifiers/slack.go index c84add49..ba8097a2 100644 --- a/notifiers/slack.go +++ b/notifiers/slack.go @@ -21,7 +21,6 @@ import ( "github.com/hunterlong/statup/core/notifier" "github.com/hunterlong/statup/types" "github.com/hunterlong/statup/utils" - "io/ioutil" "net/http" "text/template" "time" @@ -90,8 +89,8 @@ func (u *Slack) Send(msg interface{}) error { return err } defer res.Body.Close() - contents, _ := ioutil.ReadAll(res.Body) - fmt.Println(string(contents)) + //contents, _ := ioutil.ReadAll(res.Body) + //fmt.Println(string(contents)) return nil }