datasource as cfg: rename feature to provisioning

This commit is contained in:
bergquist
2017-10-23 09:02:55 +02:00
parent c9bfa781fd
commit 665df676a5
9 changed files with 27 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
package provisioning
import (
"path/filepath"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/services/provisioning/datasources"
)
var (
logger log.Logger = log.New("services.provisioning")
)
func StartUp(homePath string) error {
return datasources.Apply(filepath.Join(homePath, "conf/datasources.yaml"))
}