add go-plugin deps to vendor

This commit is contained in:
bergquist
2017-09-20 14:24:11 +02:00
parent a97360ab27
commit 0f6c470e03
193 changed files with 61425 additions and 966 deletions

View File

@ -31,6 +31,7 @@ import (
"github.com/grafana/grafana/pkg/social"
"github.com/grafana/grafana/pkg/tracing"
tsdbplugins "github.com/grafana/grafana/pkg/tsdb/plugins"
)
func NewGrafanaServer() models.GrafanaServer {
@ -67,6 +68,13 @@ func (g *GrafanaServerImpl) Start() {
login.Init()
social.NewOAuthService()
plugins.Init()
client, err := tsdbplugins.Init()
defer client.Kill()
if err != nil {
g.log.Error("failed to start plugins", "error", err)
g.Shutdown(1, "Startup failed")
}
if err := provisioning.Init(g.context, setting.HomePath, setting.Cfg); err != nil {
logger.Error("Failed to provision Grafana from config", "error", err)