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:
naiba
2026-06-02 03:32:10 +00:00
parent e47b5b99f8
commit c3c361ad66
+1 -1
View File
@@ -438,7 +438,7 @@ func (ss *ServiceSentinel) CopyStats() map[uint64]model.ServiceResponseItem {
sri := make(map[uint64]model.ServiceResponseItem)
for k, service := range stats {
if !service.service.EnableShowInService {
if service.service.HideForGuest {
delete(stats, k)
continue
}