mirror of https://github.com/statping/statping
remove logging from notifier
parent
f144b8cec1
commit
4018904ac1
|
@ -21,7 +21,6 @@ import (
|
||||||
"github.com/hunterlong/statup/core/notifier"
|
"github.com/hunterlong/statup/core/notifier"
|
||||||
"github.com/hunterlong/statup/types"
|
"github.com/hunterlong/statup/types"
|
||||||
"github.com/hunterlong/statup/utils"
|
"github.com/hunterlong/statup/utils"
|
||||||
"io/ioutil"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"text/template"
|
"text/template"
|
||||||
"time"
|
"time"
|
||||||
|
@ -90,8 +89,8 @@ func (u *Slack) Send(msg interface{}) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
defer res.Body.Close()
|
defer res.Body.Close()
|
||||||
contents, _ := ioutil.ReadAll(res.Body)
|
//contents, _ := ioutil.ReadAll(res.Body)
|
||||||
fmt.Println(string(contents))
|
//fmt.Println(string(contents))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue