Commit 6267ef13 by bergquist

datasource as cfg: fixes typos

parent 6e82dbaf
...@@ -36,9 +36,9 @@ datasources: ...@@ -36,9 +36,9 @@ datasources:
# json_data: '{"graphiteVersion":"0.9"}' # json_data: '{"graphiteVersion":"0.9"}'
# # <string> json object of data that will be encrypted in UI. # # <string> json object of data that will be encrypted in UI.
# secure_json_fields: '' # secure_json_fields: ''
# # <int> including this value garantees that instance with old configs cannot # # <int> including this value guarantees that instance with old configs cannot
# # overwrite your last change. # # overwrite your last change.
# version: 1 # version: 1
# # <bool> allow users to edit datasources from the UI. # # <bool> allow users to edit datasources from the UI.
# editable: true # editable: false
...@@ -66,7 +66,6 @@ func (g *GrafanaServerImpl) Start() { ...@@ -66,7 +66,6 @@ func (g *GrafanaServerImpl) Start() {
social.NewOAuthService() social.NewOAuthService()
plugins.Init() plugins.Init()
//if err := provisioning.StartUp(setting.HomePath); err != nil {
if err := provisioning.StartUp(setting.DatasourcesPath); err != nil { if err := provisioning.StartUp(setting.DatasourcesPath); err != nil {
logger.Error("Failed to provision Grafana from config", "error", err) logger.Error("Failed to provision Grafana from config", "error", err)
g.Shutdown(1, "Startup failed") g.Shutdown(1, "Startup failed")
......
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