alertmanager/api
Max Leonard Inden 96a28bbc36
Init result slice to prevent /alerts returning `null`
When there are no alerts to return the api endpoint `/alerts` should
return:
```
{
  "status": "success",
  "data": []
}
```
instead of
```
{
  "status": "success",
  "data": null
}
```
2017-05-02 11:51:09 +02:00
..
api.go Init result slice to prevent /alerts returning `null` 2017-05-02 11:51:09 +02:00