mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-14 21:31:16 +08:00
fix: remove misjudgment
This commit is contained in:
parent
f0a22a4a4c
commit
663bf4fbb0
@ -10,10 +10,6 @@ var uuidNamespace, _ = uuid.FromString("00000000-0000-0000-0000-000000000000")
|
||||
func UUIDMap(str string) (uuid.UUID, error) {
|
||||
u, err := uuid.FromString(str)
|
||||
if err != nil {
|
||||
if err != nil {
|
||||
return uuid.UUID{}, err
|
||||
}
|
||||
|
||||
return uuid.NewV5(uuidNamespace, str), err
|
||||
}
|
||||
return u, nil
|
||||
|
Loading…
Reference in New Issue
Block a user