Handle default datasource management

This commit is contained in:
Torkel Ödegaard
2015-01-09 16:36:23 +01:00
parent d562dcd90c
commit 68cc3f86dd
11 changed files with 120 additions and 43 deletions
+3 -2
View File
@@ -33,8 +33,9 @@ func getFrontendSettings(c *middleware.Context) (map[string]interface{}, error)
}
var dsMap = map[string]interface{}{
"type": ds.Type,
"url": url,
"type": ds.Type,
"url": url,
"default": ds.IsDefault,
}
if ds.Type == m.DS_INFLUXDB {