mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 04:19:25 +08:00
Plugins: Make manager more easily composable (#44467)
* make more easily composable * fix build
This commit is contained in:
@ -1081,7 +1081,7 @@ func newLoader(cfg *plugins.Cfg) *Loader {
|
||||
cfg: cfg,
|
||||
pluginFinder: finder.New(),
|
||||
pluginInitializer: initializer.New(cfg, provider.ProvideService(coreplugin.NewRegistry(make(map[string]backendplugin.PluginFactoryFunc))), &fakeLicensingService{}),
|
||||
signatureValidator: signature.NewValidator(&signature.UnsignedPluginAuthorizer{Cfg: cfg}),
|
||||
signatureValidator: signature.NewValidator(signature.NewUnsignedAuthorizer(cfg)),
|
||||
errs: make(map[string]*plugins.SignatureError),
|
||||
log: &fakeLogger{},
|
||||
}
|
||||
|
Reference in New Issue
Block a user