diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index 28cb380d4..bdb8b6d28 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -47,8 +47,8 @@ type Plugin struct { Location string // Location of the plugin (generally path to binary) Mappers []*argmapper.Func // Plugin specific mappers Name string // Name of the plugin - Types []component.Type // Component types supported by this plugin Options map[component.Type]interface{} // Options for supported components + Types []component.Type // Component types supported by this plugin cleaner cleanup.Cleanup // Cleanup tasks to perform on closing logger hclog.Logger