1
0
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:
Shelikhoo 2024-03-16 19:22:27 +00:00
parent 439d13a3b0
commit 5c19d6ebac
No known key found for this signature in database
GPG Key ID: 4C9764E9FE80A3DC

View File

@ -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 {