mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 00:03:24 +00:00
Update test names
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user