Skip to content

Commit

Permalink
fix: 修复golint问题
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewshan committed Dec 8, 2024
1 parent 7100dc6 commit 56e332c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ func (sc *serviceCache) postProcessServiceExports(services map[string]*model.Ser
for i := range services {
svc := services[i]
if !svc.Valid {
//服务被删除了,把所有的可见性都取消
// 服务被删除了,把所有的可见性都取消
// delete export services cache
sc.exportServices.ReadRange(func(key string, val *utils.SyncMap[string, *model.Service]) {
val.Delete(svc.ID)
Expand Down

0 comments on commit 56e332c

Please sign in to comment.