Use updated function names for fetching plugins from manager
This commit is contained in:
parent
4c8dc9a01c
commit
a8f8178b59
@ -487,7 +487,7 @@ func (b *Basis) component(
|
||||
if typ == component.CommandType {
|
||||
name = strings.Split(name, " ")[0]
|
||||
}
|
||||
p, err := b.plugins.ByName(name, typ)
|
||||
p, err := b.plugins.Find(name, typ)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -518,7 +518,7 @@ func (b *Basis) typeComponents(
|
||||
typ component.Type, // type of the components,
|
||||
) (map[string]*Component, error) {
|
||||
result := map[string]*Component{}
|
||||
plugins, err := b.plugins.ByType(typ)
|
||||
plugins, err := b.plugins.Typed(typ)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user