From a8f8178b59d784dca0e3aa1c516bc23d8d31081c Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 26 Jul 2021 14:35:36 -0700 Subject: [PATCH] Use updated function names for fetching plugins from manager --- internal/core/basis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/core/basis.go b/internal/core/basis.go index 34762656d..623d703c2 100644 --- a/internal/core/basis.go +++ b/internal/core/basis.go @@ -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 }