From 5c19d6ebac162795152c3f5c7ee01ce6468681de Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sat, 16 Mar 2024 19:22:27 +0000 Subject: [PATCH] Fix Registry name detection --- common/registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/registry/registry.go b/common/registry/registry.go index 8d0731fed..1a38b03f1 100644 --- a/common/registry/registry.go +++ b/common/registry/registry.go @@ -49,7 +49,7 @@ func (i *implementationRegistry) LoadImplementationByAlias(ctx context.Context, if strings.HasPrefix(alias, "#") { // skip resolution for full name - implementationFullName = alias + implementationFullName, _ = strings.CutPrefix(alias, "#") } else { registryResult, customLoader, err := i.findImplementationByAlias(interfaceType, alias) if err != nil {