mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-04 19:55:09 -04:00
fix nmdata store shipping zones for disabled/public services
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user