build: fixed gofmt issue and addd mock response feature

This commit is contained in:
Torkel Ödegaard
2017-10-23 09:57:28 +02:00
parent 139f077453
commit 9cce5217d0
2 changed files with 34 additions and 3 deletions
+1 -2
View File
@@ -22,8 +22,7 @@ func ValidateOrgAlert(c *middleware.Context) {
if c.OrgId != query.Result.OrgId {
c.JsonApiErr(403, "You are not allowed to edit/view alert", nil)
return
}
}
}
func GetAlertStatesForDashboard(c *middleware.Context) Response {