mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 01:42:28 +08:00
Revamp plugin loading error management (#85939)
This commit is contained in:

committed by
GitHub

parent
bb56f4a605
commit
ab5a065256
@ -92,8 +92,8 @@ var WireSet = wire.NewSet(
|
||||
wire.Bind(new(signature.Validator), new(*signature.Validation)),
|
||||
loader.ProvideService,
|
||||
wire.Bind(new(pluginLoader.Service), new(*loader.Loader)),
|
||||
pluginerrs.ProvideSignatureErrorTracker,
|
||||
wire.Bind(new(pluginerrs.SignatureErrorTracker), new(*pluginerrs.SignatureErrorRegistry)),
|
||||
pluginerrs.ProvideErrorTracker,
|
||||
wire.Bind(new(pluginerrs.ErrorTracker), new(*pluginerrs.ErrorRegistry)),
|
||||
pluginerrs.ProvideStore,
|
||||
wire.Bind(new(plugins.ErrorResolver), new(*pluginerrs.Store)),
|
||||
registry.ProvideService,
|
||||
|
Reference in New Issue
Block a user