style: go fmt with simplify

This commit is contained in:
bergquist
2017-01-27 15:21:02 +01:00
parent 1df9c2cab3
commit 46e4a54a6e
7 changed files with 27 additions and 28 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ func HandleAlertsQuery(query *m.GetAlertsQuery) error {
return err
}
for i, _ := range alerts {
for i := range alerts {
if alerts[i].ExecutionError == " " {
alerts[i].ExecutionError = ""
}