Fix initialize function of plugin loader, update blockupdates plugin

This commit is contained in:
Austin Roberts committed 2021-07-14 13:06:10 -05:00
1 parent 16cc5314cf
commit 328756dc00
3 files changed
+280 -274

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ func Initialize(target string, ctx *cli.Context) (err error) {
func (pl *PluginLoader) Initialize(ctx *cli.Context) {
fns := pl.Lookup("Initialize", func(i interface{}) bool {
_, ok := i.(func(*cli.Context, *PluginLoader) error)
_, ok := i.(func(*cli.Context, *PluginLoader))
return ok
})
for _, fni := range fns {