fix nmdata store shipping zones for disabled/public services

This commit is contained in:
pascal
2026-08-03 23:54:22 +02:00
parent 5ed38569f7
commit ef0032685b

View File

@@ -198,6 +198,9 @@ func buildPrivateServiceCandidates(svcs []service, domains []domain, proxyPeersB
}
for _, svc := range svcs {
if !svc.Enabled.Bool || !svc.Private.Bool {
continue
}
if len(svc.AccessGroups) == 0 {
continue
}