build: split circle test shell scripts

This commit is contained in:
Torkel Ödegaard
2017-10-23 09:06:08 +02:00
parent 48f384dcf1
commit 1fd2270a93
5 changed files with 37 additions and 24 deletions

View File

@@ -22,7 +22,8 @@ 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 {