Skip to content

Commit

Permalink
Fix Registry name detection
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Mar 16, 2024
1 parent 439d13a commit 5c19d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5c19d6e

Please sign in to comment.