Commit 1329c709 by Leonard Gram

codestyle

parent ee0cc9bd
...@@ -22,7 +22,7 @@ func GetDataSources(c *m.ReqContext) Response { ...@@ -22,7 +22,7 @@ func GetDataSources(c *m.ReqContext) Response {
Datasources: query.Result, Datasources: query.Result,
} }
datasources := []*m.DataSource{} var datasources []*m.DataSource
if err := bus.Dispatch(&dsFilterQuery); err != nil { if err := bus.Dispatch(&dsFilterQuery); err != nil {
if err != bus.ErrHandlerNotFound { if err != bus.ErrHandlerNotFound {
return Error(500, "Could not get datasources", err) return Error(500, "Could not get datasources", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment