Chore: Fix typo in dashboard.go (#39928)

requets -> requests
This commit is contained in:
Ikko Ashimine 2021-10-15 17:33:01 +09:00 committed by GitHub
parent 8b41d85b68
commit 81e7cb60ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,7 @@ func (hs *HTTPServer) PostDashboard(c *models.ReqContext, cmd models.SaveDashboa
dashboard = dash // the original request
}
// This will broadcast all save requets only if a `gitops` observer exists.
// This will broadcast all save requests only if a `gitops` observer exists.
// gitops is useful when trying to save dashboards in an environment where the user can not save
channel := hs.Live.GrafanaScope.Dashboards
liveerr := channel.DashboardSaved(c.SignedInUser.OrgId, c.SignedInUser.ToUserDisplayDTO(), cmd.Message, dashboard, err)