mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
Fix Registry name detection
This commit is contained in:
parent
439d13a3b0
commit
5c19d6ebac
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user