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 {