build: fixed gofmt issue and addd mock response feature

This commit is contained in:
Torkel Ödegaard
2017-10-23 09:56:52 +02:00
parent 139f077453
commit 9cce5217d0
2 changed files with 34 additions and 3 deletions

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 {