mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-09-21 10:40:13 +00:00
fix(service): flip CopyStats public filter to HideForGuest
Completes the EnableShowInService->HideForGuest rename; the public stats filter was missed in the previous commit, leaving service/singleton referencing the removed field and breaking the build.
This commit is contained in:
@@ -438,7 +438,7 @@ func (ss *ServiceSentinel) CopyStats() map[uint64]model.ServiceResponseItem {
|
|||||||
|
|
||||||
sri := make(map[uint64]model.ServiceResponseItem)
|
sri := make(map[uint64]model.ServiceResponseItem)
|
||||||
for k, service := range stats {
|
for k, service := range stats {
|
||||||
if !service.service.EnableShowInService {
|
if service.service.HideForGuest {
|
||||||
delete(stats, k)
|
delete(stats, k)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user