Fix initialize function of plugin loader, update blockupdates plugin
This commit is contained in:
1 parent
16cc5314cf
commit
328756dc00
3 files changed
+280
-274
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user