mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
datasource as cfg: setting for purging datasources not in cfg
This commit is contained in:
@@ -56,7 +56,7 @@ func (g *GrafanaServerImpl) Start() {
|
||||
g.writePIDFile()
|
||||
|
||||
initSql()
|
||||
err, _ := dsSettings.Init(filepath.Join(setting.HomePath, "conf/datasources.yaml"))
|
||||
err := dsSettings.Init(filepath.Join(setting.HomePath, "conf/datasources.yaml"))
|
||||
if err != nil {
|
||||
g.log.Error("Failed to load datasources from config", "error", err)
|
||||
g.Shutdown(1, "Startup failed")
|
||||
|
||||
Reference in New Issue
Block a user