mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
implement upstream changes
This commit is contained in:
parent
a4748d82ab
commit
55a39dd2ad
@ -65,8 +65,7 @@ func (g *GrafanaServerImpl) Start() error {
|
|||||||
|
|
||||||
pluginCloser, err := plugins.Init()
|
pluginCloser, err := plugins.Init()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
g.log.Error("failed to start plugins", "error", err)
|
return fmt.Errorf("Failed to start plugins. error: %v", err)
|
||||||
g.Shutdown(1, "Startup failed")
|
|
||||||
}
|
}
|
||||||
defer pluginCloser()
|
defer pluginCloser()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user