Open
Description
Go version
go 1.21
GoFrame version
v2.7.2
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
多个服务共用一个目录注册时,file_discovery.go第97行执行gfile.Remove(filePath),会误删其他服务的注册文件,导致服务使用异常。
What did you see happen?
当多个服务共用一个目录注册时,file_discovery.go第97行执行gfile.Remove(filePath),会误删其他服务的注册文件,导致服务使用异常。
What did you expect to see?
file_discovery.go第97行不能执行gfile.Remove(filePath)。建议将_ = gfile.Remove(filePath)这行删除。