Update test names

This commit is contained in:
Alex Ellis
2017-02-21 19:09:11 +00:00
parent 15f908c070
commit 9f2183f6f3
2 changed files with 5 additions and 5 deletions

View File

@ -82,8 +82,8 @@ func MakeAlertHandler(c *client.Client) http.HandlerFunc {
}
if len(req.Alerts) > 0 {
err := scaleService(req, c)
if err != nil {
if err := scaleService(req, c); err != nil {
log.Println(err)
w.WriteHeader(http.StatusInternalServerError)
} else {